mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core/settings: make qPref* constructors private
Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
6e846eb4c0
commit
653a2baf11
26 changed files with 26 additions and 65 deletions
|
|
@ -36,7 +36,6 @@ class qPrefDivePlanner : public QObject {
|
|||
Q_PROPERTY(bool verbatim_plan READ verbatim_plan WRITE set_verbatim_plan NOTIFY verbatim_planChanged);
|
||||
|
||||
public:
|
||||
qPrefDivePlanner(QObject *parent = NULL);
|
||||
static qPrefDivePlanner *instance();
|
||||
|
||||
// Load/Sync local settings (disk) and struct preference
|
||||
|
|
@ -135,6 +134,8 @@ signals:
|
|||
void verbatim_planChanged(bool value);
|
||||
|
||||
private:
|
||||
qPrefDivePlanner() {}
|
||||
|
||||
static void disk_ascratelast6m(bool doSync);
|
||||
static void disk_ascratestops(bool doSync);
|
||||
static void disk_ascrate50(bool doSync);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue