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/LoggedProcess.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/LoggedProcess.cpp')
-rw-r--r-- | launcher/LoggedProcess.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/launcher/LoggedProcess.cpp b/launcher/LoggedProcess.cpp index 763a9b5c..d70f6d00 100644 --- a/launcher/LoggedProcess.cpp +++ b/launcher/LoggedProcess.cpp @@ -45,11 +45,7 @@ LoggedProcess::LoggedProcess(QObject *parent) : QProcess(parent) connect(this, &QProcess::readyReadStandardOutput, this, &LoggedProcess::on_stdOut); connect(this, &QProcess::readyReadStandardError, this, &LoggedProcess::on_stdErr); connect(this, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), this, &LoggedProcess::on_exit); -#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) // &QProcess::errorOccurred added in 5.6 connect(this, &QProcess::errorOccurred, this, &LoggedProcess::on_error); -#else - connect(this, QOverload<QProcess::ProcessError>::of(&QProcess::error), this, &LoggedProcess::on_error); -#endif connect(this, &QProcess::stateChanged, this, &LoggedProcess::on_stateChange); } |