[linux-audio-user] hidden qjackctl - how to restore
Florian Schmidt
mista.tapas at gmx.net
Fri Nov 5 09:36:35 EST 2004
On Fri, 5 Nov 2004 14:04:02 +0100
Florian Schmidt <mista.tapas at gmx.net> wrote:
> // 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.
Oh, i see there's an option in the Setup dialog "enable system tray icon".
It was off. After turning it on, qjackctl doesn't disappear completely when
hiding (the original unpatched version).
Ok, above modification still seems to do the right thing (tm) imho. When
enable system tray is off, it gets minimized normally.
flo
More information about the Linux-audio-user
mailing list