From 5bc8d10baa40d62d3ced0151674e3c72aad2f43c Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 3 Aug 2016 19:43:54 +0300 Subject: 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 --- src/libs/qmljs/qmljsplugindumper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libs/qmljs/qmljsplugindumper.cpp') 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(&QProcess::finished), this, &PluginDumper::qmlPluginTypeDumpDone); - connect(process, static_cast(&QProcess::error), - this, &PluginDumper::qmlPluginTypeDumpError); + connect(process, &QProcess::errorOccurred, this, &PluginDumper::qmlPluginTypeDumpError); process->start(info.qmlDumpPath, arguments); m_runningQmldumps.insert(process, importPath); } -- cgit v1.2.1