diff options
author | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-06 17:38:52 (GMT) |
---|---|---|
committer | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-06 17:38:52 (GMT) |
commit | 267891cb23e0e751873f9a6cf5dd951287c0e5e5 (patch) | |
tree | 14036d235fa719c90b427953707a95ccd052f058 /src/gui/widgets/qcombobox.cpp | |
parent | 5edc6f4e88aa7896be0e69a6bcf2365adb6b70b4 (diff) | |
download | Qt-267891cb23e0e751873f9a6cf5dd951287c0e5e5.zip Qt-267891cb23e0e751873f9a6cf5dd951287c0e5e5.tar.gz Qt-267891cb23e0e751873f9a6cf5dd951287c0e5e5.tar.bz2 |
Changed combobox to use popup as a parent when setting softkeys.
This enables the softkeys to actually be visible on the screen
Diffstat (limited to 'src/gui/widgets/qcombobox.cpp')
-rw-r--r-- | src/gui/widgets/qcombobox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qcombobox.cpp b/src/gui/widgets/qcombobox.cpp index aa90909..01fcf34 100644 --- a/src/gui/widgets/qcombobox.cpp +++ b/src/gui/widgets/qcombobox.cpp @@ -2438,7 +2438,7 @@ void QComboBox::showPopup() #ifdef QT_KEYPAD_NAVIGATION if (QApplication::keypadNavigationEnabled()) view()->setEditFocus(true); - QKeyEventSoftKey::addSoftKey(QAction::CancelSoftKey, Qt::Key_Back, this); + QKeyEventSoftKey::addSoftKey(QAction::CancelSoftKey, Qt::Key_Back, view()); #endif } |