diff options
Diffstat (limited to 'logic/InstanceLauncher.cpp')
-rw-r--r-- | logic/InstanceLauncher.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/logic/InstanceLauncher.cpp b/logic/InstanceLauncher.cpp index f587e583..534d07d1 100644 --- a/logic/InstanceLauncher.cpp +++ b/logic/InstanceLauncher.cpp @@ -48,12 +48,9 @@ void InstanceLauncher::onLoginComplete() return; } console = new ConsoleWindow(proc); - console->show(); - - connect(proc, SIGNAL(ended()), SLOT(onTerminated())); - connect(proc, SIGNAL(log(QString, MessageLevel::Enum)), console, - SLOT(write(QString, MessageLevel::Enum))); + connect(console, SIGNAL(isClosing()), this, SLOT(onTerminated())); + proc->setLogin(result.username, result.session_id); proc->launch(); } |