summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qsoftkeymanager.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-11-03 13:44:13 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-11-03 15:44:44 (GMT)
commitd436493da1e01ac460f42ea0f58be00d8c6fdaea (patch)
treeec710f41738dd135578435452f480c61de7d46b7 /src/gui/kernel/qsoftkeymanager.cpp
parent63f2cc8d9526d3fd8a64e62be2a469bf0eee54f0 (diff)
downloadQt-d436493da1e01ac460f42ea0f58be00d8c6fdaea.zip
Qt-d436493da1e01ac460f42ea0f58be00d8c6fdaea.tar.gz
Qt-d436493da1e01ac460f42ea0f58be00d8c6fdaea.tar.bz2
Revert "Fixed a crash in the QApplication autotest."
This reverts commit f3854db64bcaa0f26faf5ff1414d3b9ccfc00e35. It is replaced by 6a89291d. Reviewed-by: Janne Anttila
Diffstat (limited to 'src/gui/kernel/qsoftkeymanager.cpp')
-rw-r--r--src/gui/kernel/qsoftkeymanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/kernel/qsoftkeymanager.cpp b/src/gui/kernel/qsoftkeymanager.cpp
index 26f0a39..a914220 100644
--- a/src/gui/kernel/qsoftkeymanager.cpp
+++ b/src/gui/kernel/qsoftkeymanager.cpp
@@ -197,8 +197,7 @@ bool QSoftKeyManager::event(QEvent *e)
} while (source);
QSoftKeyManagerPrivate::softKeySource = source;
- if (source)
- QSoftKeyManagerPrivate::updateSoftKeys_sys(softKeys);
+ QSoftKeyManagerPrivate::updateSoftKeys_sys(softKeys);
return true;
}
return false;