NOISSUE fix build on windows - pid -> processId

This commit is contained in:
Petr Mrázek 2015-08-14 01:01:50 +02:00
parent d8caab515a
commit 8ed10c5b81

View File

@ -90,7 +90,7 @@ void LaunchMinecraft::on_state(LoggedProcess::State state)
} }
case LoggedProcess::Running: case LoggedProcess::Running:
emit logLine(tr("Minecraft process ID: %1\n\n").arg(m_process.processId()), MessageLevel::MultiMC); emit logLine(tr("Minecraft process ID: %1\n\n").arg(m_process.processId()), MessageLevel::MultiMC);
m_parent->setPid(m_process.pid()); m_parent->setPid(m_process.processId());
m_parent->instance()->setLastLaunch(); m_parent->instance()->setLastLaunch();
// send the launch script to the launcher part // send the launch script to the launcher part
m_process.write(m_launchScript.toUtf8()); m_process.write(m_launchScript.toUtf8());