summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-05-20 18:33:50 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-05-20 18:33:50 -0400
commit513eaaa3556bc08c7ac9d03944ee35deff9d7ceb (patch)
tree00118efcb71698b52784b08d500c0ac64a0d71d0 /src/settings.h
parentc5f61733850d6737814041f645a009e1cc60a7ed (diff)
added const version of Settings::directInterface() for restoring states
added top-level saveState() and restoreState() to ModInfoDialog that are called from MainWindow, because it now also has to handle expander states in the conflict tab added internal opened state to expander widget instead of using widget visibility so it can be saved even after the dialog is closed
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index ed49a1bc..04a0646e 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -306,6 +306,7 @@ public:
* @return the wrapped QSettings object
*/
QSettings &directInterface() { return m_Settings; }
+ const QSettings &directInterface() const { return m_Settings; }
/**
* @brief retrieve a setting for one of the installed plugins