Adapt to deprecation of QProcess::error(...) signal
authorUlf Hermann <ulf.hermann@theqtcompany.com>
Tue, 14 Jul 2015 10:26:56 +0000 (12:26 +0200)
committerKai Koehne <kai.koehne@theqtcompany.com>
Wed, 15 Jul 2015 06:35:37 +0000 (06:35 +0000)
Change-Id: Icf708af4ab968c6592f78f90c3758e30dbe9195d
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
tests/auto/qml/debugger/shared/debugutil.cpp

index 74f22e6..51d706b 100644 (file)
@@ -91,7 +91,7 @@ QQmlDebugProcess::QQmlDebugProcess(const QString &executable, QObject *parent)
     m_timer.setSingleShot(true);
     m_timer.setInterval(5000);
     connect(&m_process, SIGNAL(readyReadStandardOutput()), this, SLOT(processAppOutput()));
-    connect(&m_process, SIGNAL(error(QProcess::ProcessError)),
+    connect(&m_process, SIGNAL(errorOccurred(QProcess::ProcessError)),
             this, SLOT(processError(QProcess::ProcessError)));
     connect(&m_timer, SIGNAL(timeout()), SLOT(timeout()));
 }