diff options
author | Andrew Munkres | 2020-06-16 02:03:27 -0700 |
---|---|---|
committer | Andrew Munkres | 2020-06-16 02:03:27 -0700 |
commit | 3584ba0662a484f2181287ad1dba7270adf5b9bf (patch) | |
tree | b272383835fe946ef0184f7821132ada340ba49f /quickviewer-1.1.8-fix-nonwindows-filename-comparator.patch | |
parent | 3ca7579ca8fbf85aa7ed99afb0ea660a8cd19d8f (diff) | |
download | aur-3584ba0662a484f2181287ad1dba7270adf5b9bf.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.patch | 11 |
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 000000000000..1a22d40b2357 --- /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 |