From 0feb4b702d8a9eb1465c79c49ada5de01b67083d Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 8 Jun 2014 15:10:08 +0200 Subject: - loot client now only updates the masterlist once per MO session - new event to notify plugins of changed mod priority - overwrite now shows up in the "checked" category instead of "unchecked" - display of "foreign" mods can now be limited to only official content - bugfix: bsa extraction dialog showed up even if the plugin was disabled - bugfix: after detection of foreign mods the priority of the overwrite folder could get messed up - bugfix: when displaying only the context menu for the mod list as a whole, the menu didn't disappear - bugfix: MO crashed when trying to download via the integrated browser --- src/settings.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index d63aabe4..9c53af71 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -288,16 +288,15 @@ void Settings::setupLoadMechanism() } -bool Settings::enableQuickInstaller() -{ - return m_Settings.value("Settings/enable_quick_installer").toBool(); -} - bool Settings::useProxy() { return m_Settings.value("Settings/use_proxy", false).toBool(); } +bool Settings::displayForeign() +{ + return m_Settings.value("Settings/display_foreign", true).toBool(); +} void Settings::setMotDHash(uint hash) { @@ -545,6 +544,7 @@ void Settings::query(QWidget *parent) QLineEdit *appIDEdit = dialog.findChild("appIDEdit"); QLineEdit *nmmVersionEdit = dialog.findChild("nmmVersionEdit"); QCheckBox *hideUncheckedBox = dialog.findChild("hideUncheckedBox"); + QCheckBox *displayForeignBox = dialog.findChild("displayForeignBox"); // @@ -602,6 +602,7 @@ void Settings::query(QWidget *parent) showMetaBox->setChecked(metaDownloads()); hideUncheckedBox->setChecked(hideUncheckedPlugins()); + displayForeignBox->setChecked(displayForeign()); forceEnableBox->setChecked(forceEnableCoreFiles()); appIDEdit->setText(getSteamAppID()); @@ -716,6 +717,7 @@ void Settings::query(QWidget *parent) } m_Settings.setValue("Settings/offline_mode", offlineBox->isChecked()); m_Settings.setValue("Settings/use_proxy", proxyBox->isChecked()); + m_Settings.setValue("Settings/display_foreign", displayForeignBox->isChecked()); m_Settings.setValue("Settings/nmm_version", nmmVersionEdit->text()); -- cgit v1.3.1