Commit 5e211e3e authored by Jan Möbius's avatar Jan Möbius

Fixed last commit

parent 783aa1ef
......@@ -54,11 +54,11 @@ class PropertyModel: public QAbstractListModel
Q_OBJECT
public:
virtual void pickModeChanged(const std::string& _mode) {}
virtual void pickModeChanged(const std::string& _mode) {}
virtual void mouseEvent(QMouseEvent* _event) {}
explicit PropertyModel(QObject *parent = 0) : QAbstractListModel(parent) {}
virtual ~PropertyModel() {}
explicit PropertyModel(QObject *parent = 0) : QAbstractListModel(parent) {}
virtual ~PropertyModel() {}
virtual int rowCount(const QModelIndex & parent = QModelIndex()) const = 0;
virtual QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const = 0;
......
......@@ -66,7 +66,7 @@ class PropertyNameListModel: public QAbstractListModel {
class TypeInfoWrapper {
public:
TypeInfoWrapper(const std::type_info & ti, const char *friendlyName) : ti(&ti), friendlyName(friendlyName) {}
explicit TypeInfoWrapper(const std::type_info & ti) : ti(&ti),friendlyName("") {}
TypeInfoWrapper(const std::type_info & ti) : ti(&ti),friendlyName("") {}
operator const std::type_info *() const { return ti; }
operator const std::type_info &() const { return *ti; }
......
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