mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
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:
parent
f43ce82052
commit
6375136a50
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user