Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,9 @@ public:
using namespace Internal;
DeploymentInfo::DeploymentInfo(const AbstractEmbeddedLinuxTarget *target)
: d(new DeploymentInfoPrivate(target))
DeploymentInfo::DeploymentInfo(AbstractEmbeddedLinuxTarget *target) :
QAbstractListModel(target),
d(new DeploymentInfoPrivate(target))
{
connect (d->target->qt4Project(), SIGNAL(proParsingDone()), SLOT(createModels()));
createModels();
......
......@@ -51,7 +51,7 @@ class REMOTELINUX_EXPORT DeploymentInfo : public QAbstractListModel
{
Q_OBJECT
public:
DeploymentInfo(const AbstractEmbeddedLinuxTarget *target);
DeploymentInfo(AbstractEmbeddedLinuxTarget *target);
~DeploymentInfo();
void setUnmodified();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment