diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-16 18:38:53 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-16 18:42:17 +0200 |
commit | a39fb1ef173ee38acb96a64e58b4fd347713c333 (patch) | |
tree | ee34d0335fa315ef469c38bbddd4a831384728dd /logic/minecraft | |
parent | c75cac684e39b9d702478f7c92fb004a02c95981 (diff) | |
download | MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.tar MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.tar.gz MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.tar.lz MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.tar.xz MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.zip |
GH-958 print PID when starting Minecraft
Diffstat (limited to 'logic/minecraft')
-rw-r--r-- | logic/minecraft/MinecraftProcess.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/minecraft/MinecraftProcess.cpp b/logic/minecraft/MinecraftProcess.cpp index 1c9f614e..fc2c8a39 100644 --- a/logic/minecraft/MinecraftProcess.cpp +++ b/logic/minecraft/MinecraftProcess.cpp @@ -250,6 +250,9 @@ void MinecraftProcess::arm() m_instance->setRunning(false); return; } + + emit log(tr("Minecraft process ID: %1\n\n").arg(processId()), MessageLevel::MultiMC); + // send the launch script to the launcher part QByteArray bytes = launchScript.toUtf8(); writeData(bytes.constData(), bytes.length()); |