forked from qt-creator/qt-creator
iostool: avoid deploying when just running, improve app lookup
-run now only runs improved app path lookup efficiency (lookup only required info) Change-Id: Ic32be229c997548eab4d63e43970d640c25a1abe Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -106,7 +106,7 @@ IosTool::IosTool(QObject *parent):
|
||||
ipv6(false),
|
||||
inAppOutput(false),
|
||||
splitAppOutput(true),
|
||||
appOp(Ios::IosDeviceManager::Install),
|
||||
appOp(Ios::IosDeviceManager::None),
|
||||
outFile(),
|
||||
out(&outFile),
|
||||
gdbFileDescriptor(-1),
|
||||
@@ -281,7 +281,7 @@ void IosTool::didTransferApp(const QString &bundlePath, const QString &deviceId,
|
||||
//out.writeCharacters(QString()); // trigger a complete closing of the empty element
|
||||
outFile.flush();
|
||||
if (status != Ios::IosDeviceManager::Success || --opLeft == 0)
|
||||
doExit(-1);
|
||||
doExit((status == Ios::IosDeviceManager::Success) ? 0 : -1);
|
||||
}
|
||||
|
||||
void IosTool::didStartApp(const QString &bundlePath, const QString &deviceId,
|
||||
|
||||
Reference in New Issue
Block a user