diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-05-11 16:32:00 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-05-11 16:32:00 -0700 |
commit | f27716656c6f6006238203669a7a02f035733fc0 (patch) | |
tree | 00b8c705d59a50041ee0f3882de99867258b1319 /launcher/java/JavaChecker.cpp | |
parent | 495103f72e85e3664458e6425172bfeb8acf7a97 (diff) | |
download | PrismLauncher-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.cpp | 4 |
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); |