summaryrefslogtreecommitdiffstats
path: root/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-08-14 01:01:50 +0200
committerPetr Mrázek <peterix@gmail.com>2015-08-14 01:01:50 +0200
commit8ed10c5b8142243481305c5cba8318eed2f4a120 (patch)
tree187cce1a3c5a374fa38749cbbad2db14b8bf9480 /logic
parentd8caab515aa641ec901592d40b5d30c6dfd282f5 (diff)
downloadMultiMC-8ed10c5b8142243481305c5cba8318eed2f4a120.tar
MultiMC-8ed10c5b8142243481305c5cba8318eed2f4a120.tar.gz
MultiMC-8ed10c5b8142243481305c5cba8318eed2f4a120.tar.lz
MultiMC-8ed10c5b8142243481305c5cba8318eed2f4a120.tar.xz
MultiMC-8ed10c5b8142243481305c5cba8318eed2f4a120.zip
NOISSUE fix build on windows - pid -> processId
Diffstat (limited to 'logic')
-rw-r--r--logic/launch/steps/LaunchMinecraft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/launch/steps/LaunchMinecraft.cpp b/logic/launch/steps/LaunchMinecraft.cpp
index f01a584d..4cde2d9f 100644
--- a/logic/launch/steps/LaunchMinecraft.cpp
+++ b/logic/launch/steps/LaunchMinecraft.cpp
@@ -90,7 +90,7 @@ void LaunchMinecraft::on_state(LoggedProcess::State state)
}
case LoggedProcess::Running:
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();
// send the launch script to the launcher part
m_process.write(m_launchScript.toUtf8());