Created
August 2, 2016 09:33
-
-
Save FeepingCreature/0c67fae1068f796871a18a2d3fdb6c5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urN kio-5.24.0-old/src/filewidgets/kdirsortfilterproxymodel.cpp kio-5.24.0-new/src/filewidgets/kdirsortfilterproxymodel.cpp | |
--- kio-5.24.0-old/src/filewidgets/kdirsortfilterproxymodel.cpp 2016-07-03 11:16:00.000000000 +0200 | |
+++ kio-5.24.0-new/src/filewidgets/kdirsortfilterproxymodel.cpp 2016-08-02 11:32:18.221600249 +0200 | |
@@ -76,6 +76,9 @@ | |
{ | |
KConfigGroup g(KSharedConfig::openConfig(), "KDE"); | |
m_naturalSorting = g.readEntry("NaturalSorting", true); | |
+ if (m_naturalSorting) { | |
+ m_collator.setNumericMode(true); | |
+ } | |
} | |
KDirSortFilterProxyModel::KDirSortFilterProxyModel(QObject *parent) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment