From ea99c26556d197860f842880fc99bee46234165a Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 12 Jun 2023 13:33:38 +0200 Subject: [PATCH] Fix logging --- src/logger.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/logger.cpp b/src/logger.cpp index 298be2e2e..65511c3f2 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -149,6 +149,7 @@ public: QFile file(info.absoluteFilePath()); if (index > 50) { file.remove(); + continue; } const QString newName = filePath + QStringLiteral(".%1").arg(index + 1); const bool success = file.copy(newName);