aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/ftw/qfastmetabuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/ftw/qfastmetabuilder.cpp')
-rw-r--r--src/qml/qml/ftw/qfastmetabuilder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml/ftw/qfastmetabuilder.cpp b/src/qml/qml/ftw/qfastmetabuilder.cpp
index 02f50911ea..08ea76b37e 100644
--- a/src/qml/qml/ftw/qfastmetabuilder.cpp
+++ b/src/qml/qml/ftw/qfastmetabuilder.cpp
@@ -197,7 +197,8 @@ void QFastMetaBuilder::setProperty(int index, const StringRef &name, const Strin
QMetaType::Type mtype, PropertyFlag flags, int notifySignal)
{
Q_ASSERT(!m_data.isEmpty());
- Q_ASSERT(!name.isEmpty() && !type.isEmpty());
+ Q_ASSERT(!name.isEmpty());
+ Q_ASSERT(!type.isEmpty());
QMetaObjectPrivate *p = priv(m_data);
Q_ASSERT(index < p->propertyCount);