-
hjk authored
As discussed in the linked report, QSettings behavior was changed to aggressively attempt to sync on each ::setValue() call, therefore causing excessive disk thrashing when used regularly. This is arguably a regression on the QSettings side, specifically as the documentation suggests some kind of delay and therefore merging of quick sequences of setValue calls (as implemented previously), but since this opinion is not generally shared, Qt applications need to implement that behavior now by themselves. This patch here does that for the reported case in Creator (and uses the opportunity to delay to 2 secs, which should be sufficient for the case) Change-Id: I04af0cd1a042abcf7113b5dde5c36e0338f7acb3 Task-number: QTCREATORBUG-15594 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
23ccfc4b