summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-06-20 21:33:27 +0200
committerAl12rs <gabriel.cortesi@outlook.com>2018-06-20 21:33:27 +0200
commite41c97b64f238ba4a27b931a187974638f596e56 (patch)
tree5dd1b9773438de3b20051524cc16a1cbd403a50b /src/mainwindow.cpp
parentb7d6bbb4513028340a2720070c7a7a968ded1681 (diff)
parent4a765cc152060bc71230f49906a5be1bef739d50 (diff)
Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop1
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;