diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-05-20 18:33:50 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-05-20 18:33:50 -0400 |
| commit | 513eaaa3556bc08c7ac9d03944ee35deff9d7ceb (patch) | |
| tree | 00118efcb71698b52784b08d500c0ac64a0d71d0 /src/settings.h | |
| parent | c5f61733850d6737814041f645a009e1cc60a7ed (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.h | 1 |
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 |
