Skip to content
Snippets Groups Projects
Commit 65e1923f authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix warning about unused variable in IOS.


Convert Q_PID to int using utility function.

Change-Id: Iab18b1b4044e323e14e63f9159a82ad5040117ce
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 26d50599
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@
#include <qmakeprojectmanager/qmakeproject.h>
#include <qtsupport/qtkitinformation.h>
#include <utils/fileutils.h>
#include <utils/qtcprocess.h>
#include <QDir>
#include <QTcpServer>
......@@ -216,9 +217,7 @@ void IosDebugSupport::handleGotInferiorPid(Q_PID pid, int qmlPort)
{
if (pid > 0) {
//m_runControl->engine()->notifyInferiorPid(pid);
#ifndef Q_OS_WIN // Q_PID might be 64 bit pointer...
m_runControl->engine()->notifyEngineRemoteSetupDone(int(pid), qmlPort);
#endif
m_runControl->engine()->notifyEngineRemoteSetupDone(int(Utils::qPidToPid(pid)), qmlPort);
} else {
m_runControl->engine()->notifyEngineRemoteSetupFailed(
tr("Got an invalid process id."));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment