]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/qt_helpers.cpp
Do not show master's errors if compiling child
[lyx.git] / src / frontends / qt4 / qt_helpers.cpp
index 63125d8c5c277ace085b4f9052e6aabe06a8d5a7..d2285101195527d6b4b189fb617d7f13b1ef32a1 100644 (file)
@@ -214,6 +214,12 @@ QString formatLocFPNumber(double d)
 }
 
 
+bool SortLocaleAware(QString const & lhs, QString const & rhs)
+{
+       return QString::localeAwareCompare(lhs, rhs) < 0;
+}
+
+
 bool ColorSorter(ColorCode lhs, ColorCode rhs)
 {
        return compare_no_case(lcolor.getGUIName(lhs), lcolor.getGUIName(rhs)) < 0;