diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-12 18:32:49 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-14 18:14:46 +0200 |
commit | 0c029da344b45154d4c68debe127d8cdf3843751 (patch) | |
tree | c760accf448eb4d9d8eadd30f43051b3a228c10e /contrib/Tir4Fun | |
parent | 251d2c45a37da6fed01c1f37529c3cd899b434e6 (diff) |
gui, spline-widget, compat/options: ensure no qsettings IO when not modified
Turns out every MainWindow::save() and friends were doing useless IO
several times during each save. I blame the bundle abstraction.
For bundles we track the modified state, but the spline widget needs
equality check since it doesn't use the options api.
It was found by accident when adding qDebug() into the slider_value
{de,}serializer code. The .ini file was being rewritten over and over
again causing hundres of milliseconds pauses on Windows.
Remove the save timer kludge from gui. Saves are now fast.
Diffstat (limited to 'contrib/Tir4Fun')
0 files changed, 0 insertions, 0 deletions