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>
This commit is contained in:
Eike Ziller
2013-10-08 15:27:45 +02:00
parent c65c650cc2
commit 171fd691c3
4 changed files with 21 additions and 8 deletions

View File

@@ -38,6 +38,7 @@
#include "iosmanager.h"
#include "iosrunfactories.h"
#include "iossettingspage.h"
#include "iostoolhandler.h"
#include "iosqtversionfactory.h"
#include "iosbuildstep.h"
#include "iosdeploystepfactory.h"
@@ -52,7 +53,9 @@
namespace Ios {
IosPlugin::IosPlugin()
{ }
{
qRegisterMetaType<Ios::IosToolHandler::Dict>("Ios::IosToolHandler::Dict");
}
bool IosPlugin::initialize(const QStringList &arguments, QString *errorMessage)
{