From d26fcf3188fae443643a1952c619912c19adae64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 5 Sep 2013 14:46:39 +0200 Subject: [PATCH] There is no PlasmaCore.Theme It's a context property "theme". Today I'm lucky, they were all called "theme". --- tabbox/qml/IconTabBox.qml | 4 ---- tabbox/qml/clients/compact/contents/ui/main.qml | 4 ---- tabbox/qml/clients/informative/contents/ui/main.qml | 4 ---- tabbox/qml/clients/present_windows/contents/ui/main.qml | 4 ---- tabbox/qml/clients/text/contents/ui/main.qml | 4 ---- tabbox/qml/clients/thumbnails/contents/ui/main.qml | 4 ---- tabbox/qml/clients/window_strip/contents/ui/main.qml | 3 --- tabbox/qml/desktops/informative/contents/ui/main.qml | 4 ---- tabbox/qml/desktops/previews/contents/ui/main.qml | 4 ---- 9 files changed, 35 deletions(-) diff --git a/tabbox/qml/IconTabBox.qml b/tabbox/qml/IconTabBox.qml index 090fc1292f..e1efb8b141 100644 --- a/tabbox/qml/IconTabBox.qml +++ b/tabbox/qml/IconTabBox.qml @@ -41,10 +41,6 @@ Item { iconsListView.imageId++; } - PlasmaCore.Theme { - id: theme - } - // just to get the margin sizes PlasmaCore.FrameSvgItem { id: hoverItem diff --git a/tabbox/qml/clients/compact/contents/ui/main.qml b/tabbox/qml/clients/compact/contents/ui/main.qml index 6dddfa6614..430279c1b2 100644 --- a/tabbox/qml/clients/compact/contents/ui/main.qml +++ b/tabbox/qml/clients/compact/contents/ui/main.qml @@ -70,10 +70,6 @@ Item { return text; } - PlasmaCore.Theme { - id: theme - } - // just to get the margin sizes PlasmaCore.FrameSvgItem { id: hoverItem diff --git a/tabbox/qml/clients/informative/contents/ui/main.qml b/tabbox/qml/clients/informative/contents/ui/main.qml index 94bf50f025..071b10a538 100644 --- a/tabbox/qml/clients/informative/contents/ui/main.qml +++ b/tabbox/qml/clients/informative/contents/ui/main.qml @@ -71,10 +71,6 @@ Item { return text; } - PlasmaCore.Theme { - id: theme - } - // just to get the margin sizes PlasmaCore.FrameSvgItem { id: hoverItem diff --git a/tabbox/qml/clients/present_windows/contents/ui/main.qml b/tabbox/qml/clients/present_windows/contents/ui/main.qml index ae54594685..4f5420dca7 100644 --- a/tabbox/qml/clients/present_windows/contents/ui/main.qml +++ b/tabbox/qml/clients/present_windows/contents/ui/main.qml @@ -60,10 +60,6 @@ Item { visible: false } - PlasmaCore.Theme { - id: theme - } - GridView { signal currentIndexChanged(int index) // used for image provider URL to trick Qt into reloading icons when the model changes diff --git a/tabbox/qml/clients/text/contents/ui/main.qml b/tabbox/qml/clients/text/contents/ui/main.qml index 8bb7fce6fb..73a3f09f51 100644 --- a/tabbox/qml/clients/text/contents/ui/main.qml +++ b/tabbox/qml/clients/text/contents/ui/main.qml @@ -55,10 +55,6 @@ Item { textListView.imageId++; } - PlasmaCore.Theme { - id: theme - } - // just to get the margin sizes PlasmaCore.FrameSvgItem { id: hoverItem diff --git a/tabbox/qml/clients/thumbnails/contents/ui/main.qml b/tabbox/qml/clients/thumbnails/contents/ui/main.qml index b24fd1c877..36a734cd64 100644 --- a/tabbox/qml/clients/thumbnails/contents/ui/main.qml +++ b/tabbox/qml/clients/thumbnails/contents/ui/main.qml @@ -64,10 +64,6 @@ Item { visible: false } - PlasmaCore.Theme { - id: theme - } - ListView { signal currentIndexChanged(int index) id: thumbnailListView diff --git a/tabbox/qml/clients/window_strip/contents/ui/main.qml b/tabbox/qml/clients/window_strip/contents/ui/main.qml index bd2d40eee1..766e0657c6 100644 --- a/tabbox/qml/clients/window_strip/contents/ui/main.qml +++ b/tabbox/qml/clients/window_strip/contents/ui/main.qml @@ -46,9 +46,6 @@ Item { visible: false } - PlasmaCore.Theme { - id: theme - } PlasmaCore.Svg { id: iconsSvg imagePath: "widgets/configuration-icons" diff --git a/tabbox/qml/desktops/informative/contents/ui/main.qml b/tabbox/qml/desktops/informative/contents/ui/main.qml index 35547a8a26..4104fbd8a3 100644 --- a/tabbox/qml/desktops/informative/contents/ui/main.qml +++ b/tabbox/qml/desktops/informative/contents/ui/main.qml @@ -57,10 +57,6 @@ Item { desktopClientModel.imageId++; } - PlasmaCore.Theme { - id: theme - } - // just to get the margin sizes PlasmaCore.FrameSvgItem { id: hoverItem diff --git a/tabbox/qml/desktops/previews/contents/ui/main.qml b/tabbox/qml/desktops/previews/contents/ui/main.qml index 3442a76cb9..109250f459 100644 --- a/tabbox/qml/desktops/previews/contents/ui/main.qml +++ b/tabbox/qml/desktops/previews/contents/ui/main.qml @@ -50,10 +50,6 @@ Item { listView.currentIndex = -1; } - PlasmaCore.Theme { - id: theme - } - // just to get the margin sizes PlasmaCore.FrameSvgItem { id: hoverItem