From ac344dba18f24e92adf4c76a51d4b834dba67358 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Fri, 27 Jan 2012 11:07:01 +0100 Subject: [PATCH] add missing return statement --- declarativeimports/plasmacomponents/qml/private/IconLoader.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/declarativeimports/plasmacomponents/qml/private/IconLoader.qml b/declarativeimports/plasmacomponents/qml/private/IconLoader.qml index e9760a871..422a38434 100644 --- a/declarativeimports/plasmacomponents/qml/private/IconLoader.qml +++ b/declarativeimports/plasmacomponents/qml/private/IconLoader.qml @@ -57,6 +57,7 @@ Item { } else if (source == "") { imageLoader.sourceComponent = null valid = false + return } svgIcon.imagePath = "toolbar-icons/"+root.source.split("-")[0]