summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-06-09 01:58:50 +0200
committerPetr Mrázek <peterix@gmail.com>2016-06-10 00:58:30 +0200
commite07456f4bf2135bcb78cbd5ae1f10d1bbe45490c (patch)
tree9ba4f7a9fed9ba63c2e26bea304fd39840a81b5e /application/MultiMC.h
parent54e5a98da0d0e0c57120728be9d52e33e05a35c5 (diff)
downloadMultiMC-e07456f4bf2135bcb78cbd5ae1f10d1bbe45490c.tar
MultiMC-e07456f4bf2135bcb78cbd5ae1f10d1bbe45490c.tar.gz
MultiMC-e07456f4bf2135bcb78cbd5ae1f10d1bbe45490c.tar.lz
MultiMC-e07456f4bf2135bcb78cbd5ae1f10d1bbe45490c.tar.xz
MultiMC-e07456f4bf2135bcb78cbd5ae1f10d1bbe45490c.zip
GH-1586 Windows: attach to the parent process console if there is any, so command line output gets printed there
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r--application/MultiMC.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/MultiMC.h b/application/MultiMC.h
index 8219d66c..887f9c2d 100644
--- a/application/MultiMC.h
+++ b/application/MultiMC.h
@@ -176,6 +176,8 @@ private:
QString rootPath;
Status m_status = MultiMC::Failed;
+
+ bool consoleAttached = false;
public:
QString launchId;
std::shared_ptr<QFile> logFile;