Commit 272de98a authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix crash in remote linux



Fix crash happening when adding/deleteing a embedded linux target.

Change-Id: Ib69f4da1570c20ea43deb1a288427401a861df5e
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent bfd6a60b
...@@ -58,8 +58,9 @@ public: ...@@ -58,8 +58,9 @@ public:
using namespace Internal; using namespace Internal;
DeploymentInfo::DeploymentInfo(const AbstractEmbeddedLinuxTarget *target) DeploymentInfo::DeploymentInfo(AbstractEmbeddedLinuxTarget *target) :
: d(new DeploymentInfoPrivate(target)) QAbstractListModel(target),
d(new DeploymentInfoPrivate(target))
{ {
connect (d->target->qt4Project(), SIGNAL(proParsingDone()), SLOT(createModels())); connect (d->target->qt4Project(), SIGNAL(proParsingDone()), SLOT(createModels()));
createModels(); createModels();
......
...@@ -51,7 +51,7 @@ class REMOTELINUX_EXPORT DeploymentInfo : public QAbstractListModel ...@@ -51,7 +51,7 @@ class REMOTELINUX_EXPORT DeploymentInfo : public QAbstractListModel
{ {
Q_OBJECT Q_OBJECT
public: public:
DeploymentInfo(const AbstractEmbeddedLinuxTarget *target); DeploymentInfo(AbstractEmbeddedLinuxTarget *target);
~DeploymentInfo(); ~DeploymentInfo();
void setUnmodified(); void setUnmodified();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment