diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2016-06-26 20:27:50 +0100 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2016-06-26 20:27:50 +0100 |
| commit | c3a8a0b9eb89b1464a0d19d728471e0077cbd8dd (patch) | |
| tree | 1a550c2de33d5245da90485f575c1a56976d3ce0 /src | |
| parent | 607b2a10aa4eab4c8b0534be20696ebe55151b9a (diff) | |
Moved QuestionBoxMemory clearance from settings into QuestionBoxMemory
Diffstat (limited to 'src')
| -rw-r--r-- | src/settings.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 7b812759..6e82b3ca 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -25,6 +25,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <appconfig.h> #include <utility.h> #include <iplugingame.h> +#include <questionboxmemory.h> #include <QCheckBox> #include <QCoreApplication> @@ -520,13 +521,7 @@ void Settings::addStyles(QComboBox *styleBox) void Settings::resetDialogs() { - m_Settings.beginGroup("DialogChoices"); - QStringList keys = m_Settings.childKeys(); - foreach (QString key, keys) { - m_Settings.remove(key); - } - - m_Settings.endGroup(); + QuestionBoxMemory::resetDialogs(); } |
