diff --git a/src/declarativeimports/dirmodel/dirmodelplugin.cpp b/src/declarativeimports/dirmodel/dirmodelplugin.cpp index 2702a711c..3e79a38d0 100644 --- a/src/declarativeimports/dirmodel/dirmodelplugin.cpp +++ b/src/declarativeimports/dirmodel/dirmodelplugin.cpp @@ -26,7 +26,7 @@ void DirModelPlugin::registerTypes(const char *uri) { Q_ASSERT(uri == QLatin1String("org.kde.dirmodel")); - qmlRegisterType(uri, 0, 1, "DirModel"); + qmlRegisterType(uri, 2,0, "DirModel"); } #include "moc_dirmodelplugin.cpp" diff --git a/src/declarativeimports/dirmodel/qmldir b/src/declarativeimports/dirmodel/qmldir index 2f26e1719..83f89c1ca 100644 --- a/src/declarativeimports/dirmodel/qmldir +++ b/src/declarativeimports/dirmodel/qmldir @@ -1,2 +1,3 @@ +module org.kde.dirmodel plugin dirmodelplugin diff --git a/src/declarativeimports/plasmacomponents/qml/Highlight.qml b/src/declarativeimports/plasmacomponents/qml/Highlight.qml index b9a21d731..86626c932 100644 --- a/src/declarativeimports/plasmacomponents/qml/Highlight.qml +++ b/src/declarativeimports/plasmacomponents/qml/Highlight.qml @@ -40,6 +40,7 @@ Item { /** true if the mouse button is pressed over the component. */ property bool pressed: false width: ListView.view ? ListView.view.width : undefined + property alias marginHints: background.margins; Connections { target: highlight.ListView.view