summaryrefslogtreecommitdiff
path: root/src/plugins/ios/iostoolhandler.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-10-08 15:27:45 +0200
committerEike Ziller <eike.ziller@digia.com>2013-10-08 15:42:19 +0200
commit171fd691c397dcbd03e7d5bb2cb3d3b4845158a9 (patch)
tree9cc620d51a2c93aa47d95b0fbf3e7d6541ea3382 /src/plugins/ios/iostoolhandler.h
parentc65c650cc2dcb0ac336cb2f6e74cb2e327e8ba15 (diff)
downloadqt-creator-171fd691c397dcbd03e7d5bb2cb3d3b4845158a9.tar.gz
Ios: Fix crash when connecting user-mode device
The modal dialog was opened directly from the tool output processing, and when returning the tool handler was already deleted. Change-Id: Iacba584b59bf8720788ac03fd2e839c5e4485ab3 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Diffstat (limited to 'src/plugins/ios/iostoolhandler.h')
-rw-r--r--src/plugins/ios/iostoolhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/ios/iostoolhandler.h b/src/plugins/ios/iostoolhandler.h
index e817acc102..42c6cc0fd3 100644
--- a/src/plugins/ios/iostoolhandler.h
+++ b/src/plugins/ios/iostoolhandler.h
@@ -67,7 +67,9 @@ public:
static QString iosDeviceToolPath();
static QString iosSimulatorToolPath();
+
explicit IosToolHandler(DeviceType = IosDeviceType, QObject *parent = 0);
+ ~IosToolHandler();
void requestTransferApp(const QString &bundlePath, const QString &deviceId, int timeout = 1000);
void requestRunApp(const QString &bundlePath, const QStringList &extraArgs, RunKind runType,
const QString &deviceId, int timeout = 1000);