Fixed warning

This commit is contained in:
Albert Vaca 2016-05-31 20:10:00 +02:00
parent 5654300249
commit 59f69856d6

View file

@ -21,9 +21,9 @@ public:
virtual ~ObjectFactory() {}
Q_INVOKABLE QObject* create() {
if (m_f0) return m_f0(); return nullptr;
if (m_f0) return m_f0();
return nullptr;
}
Q_INVOKABLE QObject* create(const QVariant &arg1) {