Commit 81dca816 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: addjusting signature of ItemLibraryEntry::addProperty()

QVariant is more sensible for a value.

Change-Id: Id36036f87d2e60dcad50ca639e5ec43703a37dc5
Reviewed-by: default avatarMarco Bubke <>
parent 4080f940
......@@ -84,7 +84,7 @@ public:
void setName(const QString &name);
void setIconPath(const QString &iconPath);
void addProperty(const Property &p);
void addProperty(QString &name, QString &type, QString &value);
void addProperty(QString &name, QString &type, QVariant &value);
void setDragIcon(const QIcon &icon);
void setIcon(const QIcon &icon);
void setCategory(const QString &category);
......@@ -195,7 +195,7 @@ void ItemLibraryEntry::setForceImport(bool b)
m_data->forceImport = b;
void ItemLibraryEntry::addProperty(QString &name, QString &type, QString &value)
void ItemLibraryEntry::addProperty(QString &name, QString &type, QVariant &value)
Property property;
property.set(name, type, value);
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