diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-20 11:20:27 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-08-02 03:06:59 -0400 |
| commit | a05862aaa13b028e2f250347daa7a2e0f64c2380 (patch) | |
| tree | 9501f8186927bf6dbd96b9d195f7392410150099 /src/settings.cpp | |
| parent | 107b396902be52f8ae305f58d4e7d85a86779051 (diff) | |
cleaned up includes
removed commented out code
reordered member functions in Settings
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index dc07e107..e7a853a2 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -18,58 +18,16 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. */ #include "settings.h" - -#include "pluginsetting.h" #include "serverinfo.h" -#include "versioninfo.h" #include "appconfig.h" -#include "organizercore.h" #include <utility.h> -#include <iplugin.h> #include <iplugingame.h> -#include <questionboxmemory.h> #include <usvfsparameters.h> -#include <QCheckBox> -#include <QCoreApplication> -#include <QComboBox> -#include <QDate> -#include <QDialog> -#include <QDir> -#include <QDirIterator> -#include <QFileInfo> -#include <QLineEdit> -#include <QSpinBox> -#include <QListWidgetItem> -#include <QLocale> -#include <QMessageBox> -#include <QApplication> -#include <QRegExp> -#include <QDir> -#include <QStringList> -#include <QVariantMap> -#include <QLabel> -#include <QPushButton> -#include <QPalette> - -#include <Qt> // for Qt::UserRole, etc - -#include <Windows.h> // For ShellExecuteW, HINSTANCE, etc -#include <wincred.h> // For storage - -#include <algorithm> // for sort -#include <memory> -#include <stdexcept> // for runtime_error -#include <string> -#include <utility> // for pair, make_pair - - using namespace MOBase; - Settings *Settings::s_Instance = nullptr; - Settings::Settings(const QSettings &settingsSource) : m_Settings(settingsSource.fileName(), settingsSource.format()) { @@ -80,13 +38,11 @@ Settings::Settings(const QSettings &settingsSource) } } - Settings::~Settings() { s_Instance = nullptr; } - Settings &Settings::instance() { if (s_Instance == nullptr) { |
