From 450f2185ebdf75f32397e2611680ff7e1deb022b Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 18 Mar 2022 17:03:28 +0100 Subject: [PATCH] applets/clipboard: Port away from PC2 --- applets/clipboard/contents/ui/ClipboardItemDelegate.qml | 4 ++-- applets/clipboard/contents/ui/Menu.qml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applets/clipboard/contents/ui/ClipboardItemDelegate.qml b/applets/clipboard/contents/ui/ClipboardItemDelegate.qml index a02ba9075..68eec831c 100644 --- a/applets/clipboard/contents/ui/ClipboardItemDelegate.qml +++ b/applets/clipboard/contents/ui/ClipboardItemDelegate.qml @@ -11,10 +11,10 @@ import QtGraphicalEffects 1.0 import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.core 2.0 as PlasmaCore -import org.kde.plasma.components 2.0 as PlasmaComponents2 +import org.kde.plasma.components 3.0 as PlasmaComponents import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons -PlasmaComponents2.ListItem { +PlasmaComponents.ItemDelegate { id: menuItem property bool supportsBarcodes diff --git a/applets/clipboard/contents/ui/Menu.qml b/applets/clipboard/contents/ui/Menu.qml index a40b9db72..aeb2da94f 100644 --- a/applets/clipboard/contents/ui/Menu.qml +++ b/applets/clipboard/contents/ui/Menu.qml @@ -62,7 +62,7 @@ PlasmaComponents3.ScrollView { onAction: menu.action(uuid) Binding { - target: menuListView; when: containsMouse + target: menuListView; when: hovered property: "currentIndex"; value: index restoreMode: Binding.RestoreBinding }