diff options
Diffstat (limited to 'tools/qml/qdeclarativefolderlistmodel.cpp')
-rw-r--r-- | tools/qml/qdeclarativefolderlistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qml/qdeclarativefolderlistmodel.cpp b/tools/qml/qdeclarativefolderlistmodel.cpp index 58bf59b..d36033d 100644 --- a/tools/qml/qdeclarativefolderlistmodel.cpp +++ b/tools/qml/qdeclarativefolderlistmodel.cpp @@ -413,7 +413,7 @@ void QDeclarativeFolderListModel::setShowOnlyReadable(bool on) void QDeclarativeFolderListModel::registerTypes() { - QML_REGISTER_TYPE(Qt,4,6,FolderListModel,QDeclarativeFolderListModel); + qmlRegisterType<QDeclarativeFolderListModel>("Qt",4,6,"FolderListModel"); } QT_END_NAMESPACE |