From e781341ee02697adfa2add4a9371219cb43713ac Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Mon, 27 Jul 2020 13:59:15 -0600 Subject: [PATCH] Add some missing PlasmaCore imports --- src/declarativeimports/plasmacomponents/qml/TabGroup.qml | 1 + src/declarativeimports/plasmacomponents/qml/ToolButton.qml | 2 ++ .../plasmacomponents/qml/private/TabBarLayout.qml | 2 ++ src/declarativeimports/plasmaextracomponents/qml/Heading.qml | 2 ++ 4 files changed, 7 insertions(+) diff --git a/src/declarativeimports/plasmacomponents/qml/TabGroup.qml b/src/declarativeimports/plasmacomponents/qml/TabGroup.qml index ee5e71d6d..de98b3928 100644 --- a/src/declarativeimports/plasmacomponents/qml/TabGroup.qml +++ b/src/declarativeimports/plasmacomponents/qml/TabGroup.qml @@ -41,6 +41,7 @@ import QtQuick 2.2 import "private/TabGroup.js" as Engine +import org.kde.plasma.core 2.0 as PlasmaCore import "." 2.0 as PlasmaComponents /** diff --git a/src/declarativeimports/plasmacomponents/qml/ToolButton.qml b/src/declarativeimports/plasmacomponents/qml/ToolButton.qml index c55410cde..0f77947db 100644 --- a/src/declarativeimports/plasmacomponents/qml/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents/qml/ToolButton.qml @@ -22,6 +22,8 @@ import QtQuick 2.1 import QtQuick.Controls 1.2 as QtControls import QtQuick.Controls.Styles.Plasma 2.0 as Styles +import org.kde.plasma.core 2.0 as PlasmaCore + /** * A plasma theme based toolbutton. * diff --git a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml index 8a68123c8..437820162 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml +++ b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml @@ -58,6 +58,8 @@ import QtQuick 2.1 import org.kde.kquickcontrolsaddons 2.0 import "AppManager.js" as Utils +import org.kde.plasma.core 2.0 as PlasmaCore + Item { id: root diff --git a/src/declarativeimports/plasmaextracomponents/qml/Heading.qml b/src/declarativeimports/plasmaextracomponents/qml/Heading.qml index 0c0508e2b..819d9de92 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/Heading.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/Heading.qml @@ -18,8 +18,10 @@ */ import QtQuick 2.0 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 + /** * A heading label used for subsections of texts. *