On Fri, 5 Nov 2004 13:22:38 +0100 Florian Schmidt <mista.tapas@xxxxxxx> 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