diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 8aba46e82e..375f0a7307 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -475,7 +475,7 @@ QAbstractItemModel * GuiApplication::languageModel() lang_model->setData(item, toqstr(it->second.lang()), Qt::UserRole); } language_model_ = new QSortFilterProxyModel(this); - language_model_->setSourceModel(lang_model); + language_model_->setSourceModel(lang_model); language_model_->setSortLocaleAware(true); return language_model_; }