Fix console window (now not a QDialog)
It now opens and coloses as expected, depending on user preferences and the status of the various processes involved. Console window geometry and state are remembered between runs.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user