diff --git a/src/effects/presentwindows/main.qml b/src/effects/presentwindows/main.qml index 13b4e74e0d..4ae4276de3 100644 --- a/src/effects/presentwindows/main.qml +++ b/src/effects/presentwindows/main.qml @@ -7,11 +7,11 @@ SPDX-License-Identifier: GPL-2.0-or-later */ import QtQuick 2.0 -import org.kde.plasma.components 2.0 as Plasma +import org.kde.plasma.components 3.0 as Plasma Plasma.Button { id: closeButton - iconSource: "window-close" + icon.name: "window-close" anchors.fill: parent implicitWidth: units.iconSizes.medium implicitHeight: implicitWidth diff --git a/src/qml/onscreennotification/plasma/main.qml b/src/qml/onscreennotification/plasma/main.qml index ca7c9e6b19..db7ff0dc2b 100644 --- a/src/qml/onscreennotification/plasma/main.qml +++ b/src/qml/onscreennotification/plasma/main.qml @@ -8,7 +8,7 @@ import QtQuick 2.0; import QtQuick.Window 2.0; import org.kde.plasma.core 2.0 as PlasmaCore; -import org.kde.plasma.components 2.0 as Plasma; +import org.kde.plasma.components 3.0 as Plasma; import QtQuick.Layouts 1.3; PlasmaCore.Dialog { diff --git a/src/scripts/desktopchangeosd/contents/ui/osd.qml b/src/scripts/desktopchangeosd/contents/ui/osd.qml index e2b27f8410..f481f1cc45 100644 --- a/src/scripts/desktopchangeosd/contents/ui/osd.qml +++ b/src/scripts/desktopchangeosd/contents/ui/osd.qml @@ -10,7 +10,6 @@ import QtQuick 2.0; import QtQuick.Window 2.0; import org.kde.plasma.core 2.0 as PlasmaCore; import org.kde.plasma.extras 2.0 as PlasmaExtras -import org.kde.plasma.components 2.0 as Plasma; import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons; import org.kde.kwin 2.0;