From 6375136a5097705259a2ef4289a33ddcc1df6ba4 Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Mon, 18 Aug 2025 14:04:27 +0200 Subject: [PATCH] Fix bughttps://qelectrotech.org/bugtracker/view.php?id=329 Modification of the int BACKUP_INTERVAL from 2 min to 20 min used by KautoSaveFile. On a large project with a 256 MB folio printed in A0 format, the graphical interface freezes for 30 seconds when KautoSaveFile writes this large amount of data to the disk every two minutes. Even if the programme crashes, you only lose 20 minutes of your work, which is not a big deal. Thanks to Enzo for reporting it and finding the problem. --- sources/qetproject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/qetproject.cpp b/sources/qetproject.cpp index 3ecb8bdf6..e81b365b9 100644 --- a/sources/qetproject.cpp +++ b/sources/qetproject.cpp @@ -41,7 +41,7 @@ #include #include -static int BACKUP_INTERVAL = 120000; //interval in ms of backup = 2min +static int BACKUP_INTERVAL = 1200000; //interval in ms of backup = 20min /** @brief QETProject::QETProject