summaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-05-06 17:19:20 -0500
committerAndrew <forkk@forkk.net>2013-05-06 17:19:20 -0500
commit7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688 (patch)
tree4fb1ac88b2aa5daa10b6bde4764453623c3ac4f5 /gui/mainwindow.h
parent2fe6bc47ed5f3d52d33d164af9a2176eb7d29026 (diff)
downloadMultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.tar
MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.tar.gz
MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.tar.lz
MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.tar.xz
MultiMC-7e3592bee891e78c9d42dcd84bc9c1ac7a3e7688.zip
Made the version list load in the background on startup.
Resolves JIRA issue MMC-11: https://jira.forkk.net/browse/MMC-11
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index 896fe9f1..bc35038e 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -87,9 +87,14 @@ private slots:
void onLoginComplete( QString inst, LoginResponse response );
void onLoginFailed( QString inst, const QString& errorMsg );
+
+ void taskStart(Task *task);
+ void taskEnd(Task *task);
public slots:
void instanceActivated ( QModelIndex );
+
+ void startTask(Task *task);
private:
Ui::MainWindow *ui;
@@ -100,6 +105,8 @@ private:
InstanceList instList;
MinecraftProcess *proc;
ConsoleWindow *console;
+
+ Task *m_versionLoadTask;
};
#endif // MAINWINDOW_H