summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorTannin <sherb@gmx.net>2016-01-10 20:19:56 +0100
committerTannin <sherb@gmx.net>2016-01-10 20:19:56 +0100
commit2aae65d6f6c1ab3309e54437a339d1644088c5c8 (patch)
treeb693c455a4433370724cfbaa23a66998a16027a9 /src/mainwindow.h
parentddf841400ef4da235f11e9b67177a78bb3d519d4 (diff)
made instance-switching usable
this includes tons and tons of changes to how paths are determined. the profiles-dir can now also be configured
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h7
1 files changed, 3 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>.
#include <QTreeWidget>
#include <QListWidgetItem>
#include <QProcess>
-#include <QThread>
#include <QProgressBar>
#include <QTranslator>
#include <QPluginLoader>
@@ -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<QString> m_ModNameList; // the mod-list to go with the directory structure