summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/options.cpp
AgeCommit message (Collapse)Author
2016-06-14gui, spline-widget, compat/options: ensure no qsettings IO when not modifiedStanislaw Halik
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.
2016-06-14compat/options: finish slider value supportStanislaw Halik
Keeping "cur" in 0->1 distorts the value on save/reload.
2016-05-26compat/options: finish slider value support moreStanislaw Halik
2016-05-25compat/options: konst korrektnessStanislaw Halik
2016-05-13many: remove unneeded implicit type conversion double <-> floatStanislaw Halik
2015-12-06compat/options: get rid of std::string usageStanislaw Halik
It's pointless to use it here.
2015-12-06compat/options: move from headerStanislaw Halik
2015-11-22compat/options: no need to heap-alloc hereStanislaw Halik
2015-11-01options: don't define options singleton in every moduleStanislaw Halik
Instead, define in opentrack-api.so only. Also, move to opentrack-compat to break a circular dependency