From 2aae65d6f6c1ab3309e54437a339d1644088c5c8 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 10 Jan 2016 20:19:56 +0100 Subject: made instance-switching usable this includes tons and tons of changes to how paths are determined. the profiles-dir can now also be configured --- src/mainwindow.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 49476bf3..530097cf 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -26,7 +26,6 @@ along with Mod Organizer. If not, see . #include #include #include -#include #include #include #include @@ -75,7 +74,7 @@ class MainWindow : public QMainWindow, public IUserInterface public: - explicit MainWindow(const QString &exeName, QSettings &initSettings, + explicit MainWindow(QSettings &initSettings, OrganizerCore &organizerCore, PluginContainer &pluginContainer, QWidget *parent = 0); ~MainWindow(); @@ -155,6 +154,8 @@ protected: private: + void cleanup(); + void actionToToolButton(QAction *&sourceAction); void updateToolBar(); @@ -263,8 +264,6 @@ private: MOBase::TutorialControl m_Tutorial; - QString m_ExeName; - int m_OldProfileIndex; std::vector m_ModNameList; // the mod-list to go with the directory structure -- cgit v1.3.1