summarylogtreecommitdiffstats
path: root/quickviewer-1.1.8-fix-nonwindows-filename-comparator.patch
diff options
context:
space:
mode:
authorAndrew Munkres2020-06-16 02:03:27 -0700
committerAndrew Munkres2020-06-16 02:03:27 -0700
commit3584ba0662a484f2181287ad1dba7270adf5b9bf (patch)
treeb272383835fe946ef0184f7821132ada340ba49f /quickviewer-1.1.8-fix-nonwindows-filename-comparator.patch
parent3ca7579ca8fbf85aa7ed99afb0ea660a8cd19d8f (diff)
downloadaur-quickviewer.tar.gz
Update to upstream's version 1.1.8
(Warning: it seems like navigating to a directory containing PDF files can cause this version of the application to hang.)
Diffstat (limited to 'quickviewer-1.1.8-fix-nonwindows-filename-comparator.patch')
-rw-r--r--quickviewer-1.1.8-fix-nonwindows-filename-comparator.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/quickviewer-1.1.8-fix-nonwindows-filename-comparator.patch b/quickviewer-1.1.8-fix-nonwindows-filename-comparator.patch
new file mode 100644
index 00000000000..1a22d40b235
--- /dev/null
+++ b/quickviewer-1.1.8-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