summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-09-01 10:20:32 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-09-01 10:20:32 (GMT)
commit74b5571063e70f6be8ff5f2bee25ef61ad179f73 (patch)
tree7c915e76f380895478b5b6bd04546ac82babd18e /src/gui/kernel
parent764aebf14e5f8f72c91a4370803dfa4521aafbbc (diff)
downloadQt-74b5571063e70f6be8ff5f2bee25ef61ad179f73.zip
Qt-74b5571063e70f6be8ff5f2bee25ef61ad179f73.tar.gz
Qt-74b5571063e70f6be8ff5f2bee25ef61ad179f73.tar.bz2
Modified hide_sys to correctly mirror action of show_sys
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qwidget_s60.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp
index 94f5963..a516266 100644
--- a/src/gui/kernel/qwidget_s60.cpp
+++ b/src/gui/kernel/qwidget_s60.cpp
@@ -549,7 +549,7 @@ void QWidgetPrivate::hide_sys()
Q_ASSERT(q->testAttribute(Qt::WA_WState_Created));
deactivateWidgetCleanup();
WId id = q->internalWinId();
- if (q->isWindow() && id) {
+ if (id) {
if(id->IsFocused()) // Avoid unnecessary calls to FocusChanged()
id->SetFocus(false);
id->MakeVisible(false);