Compil fix for Qt4.2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24802 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-05-16 14:30:46 +00:00
parent fb212b9112
commit e8f819f85b

View File

@ -476,7 +476,9 @@ QAbstractItemModel * GuiApplication::languageModel()
} }
language_model_ = new QSortFilterProxyModel(this); language_model_ = new QSortFilterProxyModel(this);
language_model_->setSourceModel(lang_model); language_model_->setSourceModel(lang_model);
#if QT_VERSION >= 0x040300
language_model_->setSortLocaleAware(true); language_model_->setSortLocaleAware(true);
#endif
return language_model_; return language_model_;
} }