Fix namespacing in SelectionDialog

This commit is contained in:
Sebastian Kügler 2013-02-20 01:34:07 +01:00
parent bb842b64d2
commit 0900460842

View File

@ -43,7 +43,7 @@
import QtQuick 2.0 import QtQuick 2.0
import org.kde.plasma.core 0.1 as PlasmaCore import org.kde.plasma.core 0.1 as PlasmaCore
import "." 0.1 import "." 0.1 as PlasmaComponents
/** /**
* A plasma themed SelectionDialog, which can be customized by overriding the * A plasma themed SelectionDialog, which can be customized by overriding the
@ -52,7 +52,7 @@ import "." 0.1
* By default SelectionDialog provides a scrollable list of textual menu items. * By default SelectionDialog provides a scrollable list of textual menu items.
* The user can choose one item from the list at a time. * The user can choose one item from the list at a time.
*/ */
CommonDialog { PlasmaComponents.CommonDialog {
id: root id: root
// Common API // Common API
@ -146,7 +146,7 @@ CommonDialog {
} }
} }
ScrollBar { PlasmaComponents.ScrollBar {
id: scrollBar id: scrollBar
flickableItem: listView flickableItem: listView
visible: listView.contentHeight > contentItem.height visible: listView.contentHeight > contentItem.height