From 1b60aa0359f8e6bce1b02cddc5ad240ccb45cf73 Mon Sep 17 00:00:00 2001 From: Ximi1970 Date: Sat, 16 Jan 2021 20:33:48 +0100 Subject: [PATCH] Fix close window --- app/SysTray-X/SysTray-X-app/windowctrl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/SysTray-X/SysTray-X-app/windowctrl.cpp b/app/SysTray-X/SysTray-X-app/windowctrl.cpp index 61f327a..05b016c 100644 --- a/app/SysTray-X/SysTray-X-app/windowctrl.cpp +++ b/app/SysTray-X/SysTray-X-app/windowctrl.cpp @@ -198,16 +198,16 @@ void WindowCtrl::slotWindowState( Preferences::WindowState state ) #ifdef Q_OS_UNIX + /* + * Update the TB windows and states + */ + findWindows( m_ppid ); + /* * Minimize all? */ if( state == Preferences::STATE_MINIMIZED_ALL || state == Preferences::STATE_MINIMIZED_ALL_STARTUP ) { - /* - * Update the TB windows and states - */ - findWindows( m_ppid ); - QList< quint64 > win_ids = getWinIds(); if( state == Preferences::STATE_MINIMIZED || state == Preferences::STATE_MINIMIZED_ALL )