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.
This commit is contained in:
Laurent Trinques 2025-08-18 14:04:27 +02:00
parent f43ce82052
commit 6375136a50

View File

@ -41,7 +41,7 @@
#include <QtDebug>
#include <utility>
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