diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2016-08-03 19:43:54 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2016-08-09 16:02:43 +0000 |
commit | 5bc8d10baa40d62d3ced0151674e3c72aad2f43c (patch) | |
tree | ee231f361496b3948d08fe283bd6bf69172ff1cb /src/libs/qmljs/qmljsplugindumper.cpp | |
parent | b17b2461dd7f1e8eef94d510a1a77db26fad5728 (diff) | |
download | qt-creator-5bc8d10baa40d62d3ced0151674e3c72aad2f43c.tar.gz |
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/libs/qmljs/qmljsplugindumper.cpp')
-rw-r--r-- | src/libs/qmljs/qmljsplugindumper.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/qmljs/qmljsplugindumper.cpp b/src/libs/qmljs/qmljsplugindumper.cpp index 7d13482272..f50fe9aaea 100644 --- a/src/libs/qmljs/qmljsplugindumper.cpp +++ b/src/libs/qmljs/qmljsplugindumper.cpp @@ -511,8 +511,7 @@ void PluginDumper::runQmlDump(const QmlJS::ModelManagerInterface::ProjectInfo &i process->setEnvironment(info.qmlDumpEnvironment.toStringList()); connect(process, static_cast<void (QProcess::*)(int)>(&QProcess::finished), this, &PluginDumper::qmlPluginTypeDumpDone); - connect(process, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::error), - this, &PluginDumper::qmlPluginTypeDumpError); + connect(process, &QProcess::errorOccurred, this, &PluginDumper::qmlPluginTypeDumpError); process->start(info.qmlDumpPath, arguments); m_runningQmldumps.insert(process, importPath); } |