forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user