From ca591dbd230bf49abad63bb13a30d04cc4725ff8 Mon Sep 17 00:00:00 2001 From: Tom Tanner Date: Tue, 23 Jun 2015 20:27:38 +0100 Subject: and now I find out I don't need to do it at all --- src/settings.cpp | 4 +-- src/settings.h | 4 +-- src/settingsdialog.ui | 80 --------------------------------------------------- 3 files changed, 4 insertions(+), 84 deletions(-) (limited to 'src') diff --git a/src/settings.cpp b/src/settings.cpp index ade3f033..4c2a34c8 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -330,12 +330,12 @@ void Settings::setupLoadMechanism() } -bool Settings::useProxy() +bool Settings::useProxy() const { return m_Settings.value("Settings/use_proxy", false).toBool(); } -bool Settings::displayForeign() +bool Settings::displayForeign() const { return m_Settings.value("Settings/display_foreign", true).toBool(); } diff --git a/src/settings.h b/src/settings.h index 7d6fe229..def1dc5c 100644 --- a/src/settings.h +++ b/src/settings.h @@ -202,12 +202,12 @@ public: /** * @return true if the user configured the use of a network proxy */ - bool useProxy(); + bool useProxy() const; /** * @return true if the user wants to see non-official plugins installed outside MO in his mod list */ - bool displayForeign(); + bool displayForeign() const; /** * @brief sets the new motd hash diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui index a7543a00..b88885dc 100644 --- a/src/settingsdialog.ui +++ b/src/settingsdialog.ui @@ -884,86 +884,6 @@ For the other games this is not a sufficient replacement for AI! - - - Overwrite - - - - - - - - - Ignore .log files (implies ignore empty directories) - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - - - - The tab controls various customisations of the overwrite directory - - - - - - - - - - Ignore empty directories - - - - - -- cgit v1.3.1