diff options
author | Andrew Munkres | 2019-02-23 06:39:32 -0800 |
---|---|---|
committer | Andrew Munkres | 2019-02-23 06:39:32 -0800 |
commit | 3ca7579ca8fbf85aa7ed99afb0ea660a8cd19d8f (patch) | |
tree | 703e5460c345c8fbef7991f372f0f36691161338 /quickviewer-1.1.3-fix-nonwindows-filename-comparator.patch | |
download | aur-3ca7579ca8fbf85aa7ed99afb0ea660a8cd19d8f.tar.gz |
Initial import
Diffstat (limited to 'quickviewer-1.1.3-fix-nonwindows-filename-comparator.patch')
-rw-r--r-- | quickviewer-1.1.3-fix-nonwindows-filename-comparator.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/quickviewer-1.1.3-fix-nonwindows-filename-comparator.patch b/quickviewer-1.1.3-fix-nonwindows-filename-comparator.patch new file mode 100644 index 000000000000..1a22d40b2357 --- /dev/null +++ b/quickviewer-1.1.3-fix-nonwindows-filename-comparator.patch @@ -0,0 +1,11 @@ +--- quickviewer/QuickViewer/src/models/volumemanager.cpp.orig 2019-02-22 03:48:52.047947231 -0800 ++++ quickviewer/QuickViewer/src/models/volumemanager.cpp 2019-02-22 04:50:15.231151952 -0800 +@@ -71,7 +71,7 @@ static bool fileNameDescendingLessThan(c + + static bool fileNameDescendingLessThan(const QvImageMetadata& m1, const QvImageMetadata& m2) + { +- return s1 > s2; ++ return m1.filename().localeAwareCompare(m2.filename()) > 0; + } + + #endif |