summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qcombobox.cpp
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-02-18 23:24:24 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-02-18 23:24:24 (GMT)
commit9fbbd3146c42869d56da8c82501be1e6a6595f36 (patch)
tree092af029342fa1c5a59bc30c85d7257c88718609 /src/gui/widgets/qcombobox.cpp
parent4baa9dfb5273d7b501dcb3f456983262c53cc8d1 (diff)
parent52e517b50aafd6cc0bec597abd50d8b3f7e982dd (diff)
downloadQt-9fbbd3146c42869d56da8c82501be1e6a6595f36.zip
Qt-9fbbd3146c42869d56da8c82501be1e6a6595f36.tar.gz
Qt-9fbbd3146c42869d56da8c82501be1e6a6595f36.tar.bz2
Merge remote branch 'origin/4.6' into integration-master-from-4.6
Conflicts: src/corelib/codecs/qtextcodec.h
Diffstat (limited to 'src/gui/widgets/qcombobox.cpp')
-rw-r--r--src/gui/widgets/qcombobox.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/qcombobox.cpp b/src/gui/widgets/qcombobox.cpp
index be20a38..f71d250 100644
--- a/src/gui/widgets/qcombobox.cpp
+++ b/src/gui/widgets/qcombobox.cpp
@@ -607,7 +607,13 @@ void QComboBoxPrivateContainer::changeEvent(QEvent *e)
view->setMouseTracking(combo->style()->styleHint(QStyle::SH_ComboBox_ListMouseTracking, &opt, combo) ||
combo->style()->styleHint(QStyle::SH_ComboBox_Popup, &opt, combo));
setFrameStyle(combo->style()->styleHint(QStyle::SH_ComboBox_PopupFrameStyle, &opt, combo));
+#ifdef QT_SOFTKEYS_ENABLED
+ } else if (e->type() == QEvent::LanguageChange) {
+ selectAction->setText(QSoftKeyManager::standardSoftKeyText(QSoftKeyManager::SelectSoftKey));
+ cancelAction->setText(QSoftKeyManager::standardSoftKeyText(QSoftKeyManager::CancelSoftKey));
+#endif
}
+
QWidget::changeEvent(e);
}