summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qsoftkeymanager.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2009-12-08 09:10:52 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2009-12-08 09:10:52 (GMT)
commit3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54 (patch)
treebdd95d791244c6cc72a19a48118ab72ff5edcfb2 /src/gui/kernel/qsoftkeymanager.cpp
parent55be2d1d684d4505db3bbf76da0cf8326cee9468 (diff)
parentdfbdb86fd4614be9be17cbfb602ed5a3b5a38671 (diff)
downloadQt-3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54.zip
Qt-3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54.tar.gz
Qt-3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'src/gui/kernel/qsoftkeymanager.cpp')
-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;