Fix signal derp from previous commit
Console should now properly close/not close based on minecraft return code/signal.
This commit is contained in:
parent
fdc58bb913
commit
9693a5e6e9
3 changed files with 24 additions and 24 deletions
|
@ -725,8 +725,8 @@ void MainWindow::launchInstance(BaseInstance *instance, LoginResponse response)
|
|||
|
||||
connect(proc, SIGNAL(log(QString, MessageLevel::Enum)), console,
|
||||
SLOT(write(QString, MessageLevel::Enum)));
|
||||
connect(proc, SIGNAL(ended(BaseInstance *, int, ExitStatus)), this,
|
||||
SLOT(instanceEnded(BaseInstance *, int, ExitStatus)));
|
||||
connect(proc, SIGNAL(ended(BaseInstance*,int,QProcess::ExitStatus)), this,
|
||||
SLOT(instanceEnded(BaseInstance*,int,QProcess::ExitStatus)));
|
||||
|
||||
if (instance->settings().get("ShowConsole").toBool())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue