summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorQudix <17361645+Qudix@users.noreply.github.com>2020-11-14 00:36:57 -0600
committerQudix <17361645+Qudix@users.noreply.github.com>2020-11-14 00:36:57 -0600
commit24991bf5fb1dcf4ccee1090285bec10b3a20bf81 (patch)
tree49a9444ae24e25263ebee6ea601e4c5bb239447a /src/mainwindow.cpp
parent125fc7a82e5ddf51b91f834661f7de9356831714 (diff)
parent579f94b5b6014ad4a97b23eb2a26ab69f007aa6a (diff)
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 52d97270..b09e3dcc 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1966,7 +1966,7 @@ void MainWindow::refreshSaveList()
files.append(it.fileInfo());
}
std::sort(files.begin(), files.end(), [](auto const& lhs, auto const& rhs) {
- return lhs.fileTime(QFileDevice::FileModificationTime) < rhs.fileTime(QFileDevice::FileModificationTime);
+ return lhs.fileTime(QFileDevice::FileModificationTime) > rhs.fileTime(QFileDevice::FileModificationTime);
});
for (const QFileInfo &file : files) {