forked from qt-creator/qt-creator
Fixing warning
Change-Id: I92236680f34b6620c2371a1d9f1d1dcde8ba9282 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user