]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/GuiCharacter.cpp
Fix deprecation warnings from use of qSort()
[features.git] / src / frontends / qt / GuiCharacter.cpp
index 59b7ca3f0e50074d3d79fd11b3452fcec5c91947..f06119a11ca55c41e74487d28b6b92433e77bc0e 100644 (file)
@@ -237,7 +237,7 @@ GuiCharacter::GuiCharacter(GuiView & lv)
        bar    = barData();
        strike = strikeData();
        color  = colorData();
-       qSort(color.begin(), color.end(), ColorSorter);
+       sort(color.begin(), color.end(), ColorSorter);
 
        language = languageData();
        language.prepend(LanguagePair(qt_("Default"), "reset"));