summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-08-03 02:30:20 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-08-04 06:09:48 -0400
commite4418b95fa24f9caea32adfe9d957ce37e46f127 (patch)
tree0c987b752f3c0890ce4fe8a0978bb5cebe1ac65a /src/settings.h
parent07f1ac7a96dcf4c91a24bb1d30af92851ecda78f (diff)
moved settings updates to Settings::processUpdates()
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 066843c2..bf66c0dd 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -72,6 +72,9 @@ public:
static Settings &instance();
+ void processUpdates(
+ const QVersionNumber& currentVersion, const QVersionNumber& lastVersion);
+
QString getFilename() const;
/**
@@ -169,9 +172,13 @@ public:
std::optional<int> getSelectedExecutable() const;
std::optional<bool> getUseProxy() const;
+ std::optional<QVersionNumber> getVersion() const;
+ bool getFirstStart() const;
+
GeometrySettings& geometry();
const GeometrySettings& geometry() const;
+
/**
* retrieve the directory where profiles stored (with native separators)
**/