aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/applicationlauncher.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-08-03 19:43:54 +0300
committerOrgad Shaneh <orgads@gmail.com>2016-08-09 16:02:43 +0000
commit5bc8d10baa40d62d3ced0151674e3c72aad2f43c (patch)
treeee231f361496b3948d08fe283bd6bf69172ff1cb /src/plugins/projectexplorer/applicationlauncher.cpp
parentb17b2461dd7f1e8eef94d510a1a77db26fad5728 (diff)
Remove uses of deprecated QProcess::error signal
This overload of error is deprecated in 5.6. Replace with errorOccurred, which was introduced in 5.6. Change-Id: Iccfba7e7103b7ce377471696f1f2ec217e52c840 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.cpp')
-rw-r--r--src/plugins/projectexplorer/applicationlauncher.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.cpp b/src/plugins/projectexplorer/applicationlauncher.cpp
index 4c14e9a5bb..45e837402c 100644
--- a/src/plugins/projectexplorer/applicationlauncher.cpp
+++ b/src/plugins/projectexplorer/applicationlauncher.cpp
@@ -100,14 +100,12 @@ ApplicationLauncher::ApplicationLauncher(QObject *parent) : QObject(parent),
}
connect(&d->m_guiProcess, &QProcess::readyReadStandardOutput,
this, &ApplicationLauncher::readStandardOutput);
- connect(&d->m_guiProcess, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::error),
+ connect(&d->m_guiProcess, &QProcess::errorOccurred,
this, &ApplicationLauncher::guiProcessError);
connect(&d->m_guiProcess, static_cast<void (QProcess::*)(int,QProcess::ExitStatus)>(&QProcess::finished),
this, &ApplicationLauncher::processDone);
- connect(&d->m_guiProcess, &QProcess::started,
- this, &ApplicationLauncher::bringToForeground);
- connect(&d->m_guiProcess, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::error),
- this, &ApplicationLauncher::error);
+ connect(&d->m_guiProcess, &QProcess::started, this, &ApplicationLauncher::bringToForeground);
+ connect(&d->m_guiProcess, &QProcess::errorOccurred, this, &ApplicationLauncher::error);
#ifdef Q_OS_UNIX
d->m_consoleProcess.setSettings(Core::ICore::settings());