From 097107791f765a2996939e25463f79afe27be207 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 25 Apr 2020 20:17:34 +0900 Subject: Make sure to ignore applications that can't be restored. Signed-off-by: Michele Calgaro --- src/tqtraylabel.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tqtraylabel.cpp') diff --git a/src/tqtraylabel.cpp b/src/tqtraylabel.cpp index 4e0b717..925ffd2 100644 --- a/src/tqtraylabel.cpp +++ b/src/tqtraylabel.cpp @@ -1070,6 +1070,10 @@ bool TQTrayLabel::restoreState(TDEConfig *config) dock(); scanClients(); // Grab window + if (mDockedWindow == None) + { + return false; + } if (mWithdrawn) { withdraw(); -- cgit v1.2.1