diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 5f7dc1d210..1640884dfb 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -476,7 +476,9 @@ QAbstractItemModel * GuiApplication::languageModel() } language_model_ = new QSortFilterProxyModel(this); language_model_->setSourceModel(lang_model); +#if QT_VERSION >= 0x040300 language_model_->setSortLocaleAware(true); +#endif return language_model_; }