summaryrefslogtreecommitdiffstats
path: root/src/tqtraylabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tqtraylabel.cpp')
-rw-r--r--src/tqtraylabel.cpp4
1 files changed, 4 insertions, 0 deletions
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();