aboutsummaryrefslogtreecommitdiff
path: root/launcher/java/JavaChecker.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-11 16:32:00 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-11 16:32:00 -0700
commitf27716656c6f6006238203669a7a02f035733fc0 (patch)
tree00b8c705d59a50041ee0f3882de99867258b1319 /launcher/java/JavaChecker.cpp
parent495103f72e85e3664458e6425172bfeb8acf7a97 (diff)
downloadPrismLauncher-f27716656c6f6006238203669a7a02f035733fc0.tar.gz
PrismLauncher-f27716656c6f6006238203669a7a02f035733fc0.tar.bz2
PrismLauncher-f27716656c6f6006238203669a7a02f035733fc0.zip
fix: remove qt < 5.6 support process error signal
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/java/JavaChecker.cpp')
-rw-r--r--launcher/java/JavaChecker.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/launcher/java/JavaChecker.cpp b/launcher/java/JavaChecker.cpp
index 922580ce..b4c55b3d 100644
--- a/launcher/java/JavaChecker.cpp
+++ b/launcher/java/JavaChecker.cpp
@@ -88,11 +88,7 @@ void JavaChecker::performCheck()
qDebug() << "Running java checker: " + m_path + args.join(" ");;
connect(process.get(), QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), this, &JavaChecker::finished);
-#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) // &QProcess::errorOccurred added in 5.6
connect(process.get(), &QProcess::errorOccurred, this, &JavaChecker::error);
-#else
- connect(process.get(), &QProcess::error, this, &JavaChecker::error);
-#endif
connect(process.get(), &QProcess::readyReadStandardOutput, this, &JavaChecker::stdoutReady);
connect(process.get(), &QProcess::readyReadStandardError, this, &JavaChecker::stderrReady);
connect(&killTimer, &QTimer::timeout, this, &JavaChecker::timeout);