diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-04-30 04:51:32 -0500 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-04-30 04:51:32 -0500 |
| commit | 3061a15822dda0f7ed01aeb45ce9ccf4ad0f6af5 (patch) | |
| tree | 59f48c3441d44ce273cc8f3082008113cbe0a5d3 /src/settingsdialog.h | |
| parent | 8c47ba2252ff226d646a13a82a7b30ee652efc25 (diff) | |
Restart MO if the API key is changed or the reset geometries button was clicked
Diffstat (limited to 'src/settingsdialog.h')
| -rw-r--r-- | src/settingsdialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settingsdialog.h b/src/settingsdialog.h index d6dfe384..92a97c3f 100644 --- a/src/settingsdialog.h +++ b/src/settingsdialog.h @@ -82,6 +82,7 @@ public: QColor getContainedColor() { return m_ContainedColor; } QString getExecutableBlacklist() { return m_ExecutableBlacklist; } bool getResetGeometries(); + bool getApiKeyChanged(); void setOverwritingColor(QColor col) { m_OverwritingColor = col; } void setOverwrittenColor(QColor col) { m_OverwrittenColor = col; } @@ -165,6 +166,8 @@ private slots: void completeApiConnection(); + void on_resetGeometryBtn_clicked(); + private: Ui::SettingsDialog *ui; PluginContainer *m_PluginContainer; @@ -177,6 +180,8 @@ private: QColor m_ContainedColor; bool m_KeyReceived; + bool m_KeyCleared; + bool m_GeometriesReset; QString m_UUID; QString m_AuthToken; |
