Commit 824fc105 authored by Thomas Hartmann's avatar Thomas Hartmann

Fixing warning

Change-Id: I92236680f34b6620c2371a1d9f1d1dcde8ba9282
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent ab711a28
......@@ -937,6 +937,8 @@ void IosSimulatorToolHandlerPrivate::launchAppOnSimulator(const QStringList &ext
// Poll every 1 sec to check whether the app is running.
QThread::msleep(1000);
} while (!fi.isCanceled() && kill(pid, 0) == 0);
#else
Q_UNUSED(pid);
#endif
// Future is cancelled if the app is stopped from the qt creator.
if (!fi.isCanceled())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment