Re: [linux-audio-user] hidden qjackctl - how to restore

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] hidden qjackctl - how to restore
From: Florian Schmidt (mista.tapas_AT_gmx.net)
Date: Fri Nov 05 2004 - 15:04:02 EET


On Fri, 5 Nov 2004 13:22:38 +0100
Florian Schmidt <mista.tapas_AT_gmx.net> wrote:

make that:

>
> // Main form visibility requester slot.
> void qjackctlMainForm::toggleMainForm (void)
> {
> m_pSetup->saveWidgetGeometry(this);
> if (isVisible()) {
> hide();
> } else {
> show();
> raise();
> setActiveWindow();
> }
> }

this:

// Main form visibility requester slot.
void qjackctlMainForm::toggleMainForm (void)
{
    m_pSetup->saveWidgetGeometry(this);
    if (isVisible()) {
      if (m_pSetup->bSystemTray) {
        hide();
      }
      else {
        // iconify normally
        setWindowState(Qt::WindowMinimized);
      }
    } else {
        show();
        raise();
        setActiveWindow();
    }
}

this works at least for me.

flo


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Nov 05 2004 - 15:08:21 EET