From e8f819f85b69047c9565f8151b1ba95d45f4b5b8 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 16 May 2008 14:30:46 +0000 Subject: [PATCH] Compil fix for Qt4.2 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24802 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiApplication.cpp | 2 ++ 1 file changed, 2 insertions(+) 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_; } -- 2.39.5