diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-01-06 13:21:56 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-01-07 09:58:27 +0000 |
commit | 70c4fbabbffe1ee8cc281a578c0c9cc492ee40e9 (patch) | |
tree | 438ba8c620b0d191363c9cbc1cbce7726674f72e /src/libexec | |
parent | 2c11f73c601a67f7cc1680b4f468a95831d23b03 (diff) | |
download | qbs-70c4fbabbffe1ee8cc281a578c0c9cc492ee40e9.tar.gz |
Fix deprecation warnings
Change-Id: Ib682d46951fb801be1dc102b4f2ef426327d34f9
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/libexec')
-rw-r--r-- | src/libexec/qbs_processlauncher/launchersockethandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libexec/qbs_processlauncher/launchersockethandler.cpp b/src/libexec/qbs_processlauncher/launchersockethandler.cpp index 53bd81a9a..dac1b0b2e 100644 --- a/src/libexec/qbs_processlauncher/launchersockethandler.cpp +++ b/src/libexec/qbs_processlauncher/launchersockethandler.cpp @@ -273,8 +273,7 @@ void LauncherSocketHandler::sendPacket(const LauncherPacket &packet) Process *LauncherSocketHandler::setupProcess(quintptr token) { const auto p = new Process(token, this); - connect(p, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::error), - this, &LauncherSocketHandler::handleProcessError); + connect(p, &QProcess::errorOccurred, this, &LauncherSocketHandler::handleProcessError); connect(p, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this, &LauncherSocketHandler::handleProcessFinished); connect(p, &Process::failedToStop, this, &LauncherSocketHandler::handleStopFailure); |