Fix broken signal in ConsoleWindow

Wasn't detecting minecraft shutdown properly
This commit is contained in:
Petr Mrázek 2013-11-17 11:48:01 +01:00
parent 9559be32bd
commit 9fcb287ea2

View File

@ -28,7 +28,7 @@ ConsoleWindow::ConsoleWindow(MinecraftProcess *mcproc, QWidget *parent)
MultiMCPlatform::fixWM_CLASS(this);
ui->setupUi(this);
this->setWindowFlags(Qt::Window);
connect(mcproc, SIGNAL(ended(BaseInstance *, int, ExitStatus)), this,
connect(mcproc, SIGNAL(ended(BaseInstance *, int, QProcess::ExitStatus)), this,
SLOT(onEnded(BaseInstance *, int, QProcess::ExitStatus)));
}