summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-12-05 11:23:36 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-12-05 11:23:36 (GMT)
commit9093d6c498f1b70c7ec58fc52bb9d5f0a4302540 (patch)
tree5bb0e87be487d80c76a16c23ee94e7f97fcc95c6 /src/gui/kernel
parentcbdf3dc7508131e31f1d221e7b6f44d4714d3caa (diff)
parent291a26abae4b7e1e4b77baf42964ccb77edf4adf (diff)
downloadQt-9093d6c498f1b70c7ec58fc52bb9d5f0a4302540.zip
Qt-9093d6c498f1b70c7ec58fc52bb9d5f0a4302540.tar.gz
Qt-9093d6c498f1b70c7ec58fc52bb9d5f0a4302540.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qsoftkeymanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qsoftkeymanager.cpp b/src/gui/kernel/qsoftkeymanager.cpp
index 775d773..1acc9b3 100644
--- a/src/gui/kernel/qsoftkeymanager.cpp
+++ b/src/gui/kernel/qsoftkeymanager.cpp
@@ -190,7 +190,7 @@ bool QSoftKeyManager::event(QEvent *e)
}
QWidget *parent = source->parentWidget();
- if (parent && softKeys.isEmpty())
+ if (parent && softKeys.isEmpty() && !source->isWindow())
source = parent;
else
break;