Skip to content
Snippets Groups Projects
Commit b2470265 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDesigner: Fix compilation warning for debug builds

parent dcafe3c8
No related branches found
No related tags found
No related merge requests found
......@@ -331,10 +331,12 @@ static QVariant objectToVariant(QObject *object)
return QVariant::fromValue(object);
}
#ifndef QT_DEBUG
static bool hasFullImplementedListInterface(const QDeclarativeListReference &list)
{
return list.isValid() && list.canCount() && list.canAt() && list.canAppend() && list.canClear();
}
#endif
static void removeObjectFromList(const QDeclarativeProperty &metaProperty, QObject *objectToBeRemoved, QDeclarativeEngine * engine)
{
......
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