mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
fb212b9112
commit
e8f819f85b
@ -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_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user