mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: make qPref.* use static
Prepare qPref.* to run load/sync Make variables and methods static to give easy access Make getter inline to give faster access Signed-off-by: Jan Iversen <jani@apache.org>:wq
This commit is contained in:
parent
253d868328
commit
0825f644e0
3 changed files with 13 additions and 18 deletions
|
@ -51,7 +51,7 @@ void qPrefGeneral::set_default_file_behavior(enum def_file_behavior value)
|
|||
prefs.default_file_behavior = value;
|
||||
}
|
||||
disk_default_file_behavior(true);
|
||||
emit default_file_behavior_changed(value);
|
||||
emit qPrefGeneral::instance()->default_file_behavior_changed(value);
|
||||
}
|
||||
}
|
||||
void qPrefGeneral::disk_default_file_behavior(bool doSync)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue