From 54899c56ba3cf65b2eb9ce123a3a6d957eb2c65f Mon Sep 17 00:00:00 2001 From: Martin Klapetek Date: Fri, 27 Feb 2015 18:37:00 +0100 Subject: [PATCH] Make the import 2.1 work Change-Id: I12b6557a7a0e64dc4d55410da143d3d8d278bc94 Reviewed-by: Marco Martin --- src/declarativeimports/core/corebindingsplugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/declarativeimports/core/corebindingsplugin.cpp b/src/declarativeimports/core/corebindingsplugin.cpp index ed241baa6..7aaba35ff 100644 --- a/src/declarativeimports/core/corebindingsplugin.cpp +++ b/src/declarativeimports/core/corebindingsplugin.cpp @@ -87,7 +87,8 @@ void CoreBindingsPlugin::registerTypes(const char *uri) qmlRegisterType(uri, 2, 0, "DataSource"); qmlRegisterType(uri, 2, 0, "DataModel"); - qmlRegisterType(uri, 2, 0, "SortFilterModel"); + qmlRegisterType(uri, 2, 0, "SortFilterModel"); + qmlRegisterType(uri, 2, 1, "SortFilterModel"); qmlRegisterType(uri, 2, 0, "Dialog"); qmlRegisterType(uri, 2, 0, "ToolTipArea");