From a45a18e810f00af99b7543f11840007e5cad475e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Fri, 26 Oct 2012 01:36:30 +0200 Subject: [PATCH] Fix reference error in Highlight ListView is just the namespace, we have to check for ListView.view's existance --- declarativeimports/plasmacomponents/qml/Highlight.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/declarativeimports/plasmacomponents/qml/Highlight.qml b/declarativeimports/plasmacomponents/qml/Highlight.qml index 66d73ccd9..46db1d0ed 100644 --- a/declarativeimports/plasmacomponents/qml/Highlight.qml +++ b/declarativeimports/plasmacomponents/qml/Highlight.qml @@ -46,7 +46,7 @@ Item { //in the case we are the highlight of a listview, it follows the mouse, so hover = true property bool hover: ListView ? true : false property bool pressed: false - width: ListView ? ListView.view.width : undefined + width: ListView.view ? ListView.view.width : undefined Connections { target: highlight.ListView.view