From eff37a46ce33078f6f601bd724bbb7359b5db055 Mon Sep 17 00:00:00 2001 From: Anton Kudryavtsev Date: Mon, 10 Oct 2016 14:54:07 +0300 Subject: Qml, Imports: mark some methods as const These methods do not modify objects. Change-Id: I67b1a10cfd0b32688500fca3265a96f53afd1b57 Reviewed-by: Ulf Hermann --- src/qml/types/qqmllistmodel_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/types/qqmllistmodel_p.h') diff --git a/src/qml/types/qqmllistmodel_p.h b/src/qml/types/qqmllistmodel_p.h index 29b392f71e..b750d30676 100644 --- a/src/qml/types/qqmllistmodel_p.h +++ b/src/qml/types/qqmllistmodel_p.h @@ -195,7 +195,7 @@ private: // returns true if a role was set bool applyProperty(const QV4::CompiledData::Unit *qmlUnit, const QV4::CompiledData::Binding *binding, ListModel *model, int outterElementIndex); - bool definesEmptyList(const QString &); + static bool definesEmptyList(const QString &); QString listElementTypeName; }; -- cgit v1.2.3