summaryrefslogtreecommitdiffstats
path: root/logic/launch/steps
diff options
context:
space:
mode:
Diffstat (limited to 'logic/launch/steps')
-rw-r--r--logic/launch/steps/CheckJava.cpp1
-rw-r--r--logic/launch/steps/LaunchMinecraft.cpp2
-rw-r--r--logic/launch/steps/TextPrint.h8
3 files changed, 8 insertions, 3 deletions
diff --git a/logic/launch/steps/CheckJava.cpp b/logic/launch/steps/CheckJava.cpp
index 92c65d0a..9c5fd404 100644
--- a/logic/launch/steps/CheckJava.cpp
+++ b/logic/launch/steps/CheckJava.cpp
@@ -57,7 +57,6 @@ void CheckJava::executeTask()
if (javaUnixTime != storedUnixTime)
{
m_JavaChecker = std::make_shared<JavaChecker>();
- bool successful = false;
QString errorLog;
QString version;
emit logLine(tr("Checking Java version..."), MessageLevel::MultiMC);
diff --git a/logic/launch/steps/LaunchMinecraft.cpp b/logic/launch/steps/LaunchMinecraft.cpp
index 4cde2d9f..95438003 100644
--- a/logic/launch/steps/LaunchMinecraft.cpp
+++ b/logic/launch/steps/LaunchMinecraft.cpp
@@ -81,8 +81,8 @@ void LaunchMinecraft::on_state(LoggedProcess::State state)
case LoggedProcess::Finished:
{
m_parent->setPid(-1);
- auto exitCode = m_process.exitCode();
//FIXME: make this work again
+ // auto exitCode = m_process.exitCode();
// m_postlaunchprocess.processEnvironment().insert("INST_EXITCODE", QString(exitCode));
// run post-exit
emitSucceeded();
diff --git a/logic/launch/steps/TextPrint.h b/logic/launch/steps/TextPrint.h
index 3846bf84..fdd9014a 100644
--- a/logic/launch/steps/TextPrint.h
+++ b/logic/launch/steps/TextPrint.h
@@ -19,7 +19,13 @@
#include <launch/LoggedProcess.h>
#include <java/JavaChecker.h>
-class TextPrint: public LaunchStep
+#include "multimc_logic_export.h"
+
+/*
+ * FIXME: maybe do not export
+ */
+
+class MULTIMC_LOGIC_EXPORT TextPrint: public LaunchStep
{
Q_OBJECT
public: