mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop-widget: remove SettingsObjectWrapper and update qPref calls
remove use of SettingsObjectWrapper:: remove include of SettingsObjectWrapper.h use qPrefFoo:: for setters and getters replace prefs.foo with qPrefXYZ::foo() where feasible (this expands to the same code, but gives us more control over the variable). Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
c6998ee926
commit
0f68e0cc2e
6 changed files with 80 additions and 91 deletions
|
@ -4,7 +4,7 @@
|
|||
#include "desktop-widgets/mainwindow.h"
|
||||
#include "core/planner.h"
|
||||
#include "core/qthelper.h"
|
||||
#include "core/subsurface-qt/SettingsObjectWrapper.h"
|
||||
#include "core/settings/qPrefDivePlanner.h"
|
||||
#include "core/gettextfromc.h"
|
||||
|
||||
#include "qt-models/cylindermodel.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue