summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2018-06-16 23:18:25 -0500
committerLostDragonist <lost.dragonist@gmail.com>2018-06-20 08:45:05 -0500
commit30f170c10d7838a855524c5466eb9d7ea70d34db (patch)
tree458579a6f83c5ed63001a6745931efd1f2c66b22 /src/mainwindow.cpp
parentb6aa12b323a81f4ac8e1bb76c2fea780a1698d97 (diff)
Extend mod backups and load order backups to a maximum of 10
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 7ddd35c5..fc666a49 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -4971,7 +4971,7 @@ bool MainWindow::createBackup(const QString &filePath, const QDateTime &time)
QString outPath = filePath + "." + time.toString(PATTERN_BACKUP_DATE);
if (shellCopy(QStringList(filePath), QStringList(outPath), this)) {
QFileInfo fileInfo(filePath);
- removeOldFiles(fileInfo.absolutePath(), fileInfo.fileName() + PATTERN_BACKUP_GLOB, 3, QDir::Name);
+ removeOldFiles(fileInfo.absolutePath(), fileInfo.fileName() + PATTERN_BACKUP_GLOB, 10, QDir::Name);
return true;
} else {
return false;