summaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.cpp
diff options
context:
space:
mode:
authorStiepen22 <stiepen22@gmx.de>2013-09-08 15:02:52 +0200
committerStiepen22 <stiepen22@gmx.de>2013-09-08 15:02:52 +0200
commitdab2bbe4e79cfd8b3b72b8d2fd0e5bd66e0281a9 (patch)
treefa72bb238a11e2f98cf6816c4a8540f2abb0efc9 /gui/mainwindow.cpp
parent5cac21ca6387a3cbd5492b933c5ad6d7b76b8bc7 (diff)
downloadMultiMC-dab2bbe4e79cfd8b3b72b8d2fd0e5bd66e0281a9.tar
MultiMC-dab2bbe4e79cfd8b3b72b8d2fd0e5bd66e0281a9.tar.gz
MultiMC-dab2bbe4e79cfd8b3b72b8d2fd0e5bd66e0281a9.tar.lz
MultiMC-dab2bbe4e79cfd8b3b72b8d2fd0e5bd66e0281a9.tar.xz
MultiMC-dab2bbe4e79cfd8b3b72b8d2fd0e5bd66e0281a9.zip
Added console coloring and made the log not contain any usernames/session ids
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r--gui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index 82ae41d9..152773e7 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -556,6 +556,7 @@ void MainWindow::launchInstance(BaseInstance *instance, LoginResponse response)
connect(proc, SIGNAL(log(QString, MessageLevel::Enum)),
console, SLOT(write(QString, MessageLevel::Enum)));
connect(proc, SIGNAL(ended()), this, SLOT(instanceEnded()));
+ proc->setLogin(m_activeLogin.username, m_activeLogin.sessionID);
proc->launch();
}