diff --git a/contents/ui/configGeneral.qml b/contents/ui/configGeneral.qml index b0b73cd..422258d 100644 --- a/contents/ui/configGeneral.qml +++ b/contents/ui/configGeneral.qml @@ -1,8 +1,8 @@ // configGeneral.qml import QtQuick 2.0 -import QtQuick.Controls 2.5 -import QtQuick.Layouts 1.12 -import org.kde.kirigami 2.4 as Kirigami +import QtQuick.Controls 2.0 +import QtQuick.Layouts 1.1 +import org.kde.kirigami 2.5 as Kirigami Item { id: page diff --git a/contents/ui/main.qml b/contents/ui/main.qml index ec84047..29da920 100644 --- a/contents/ui/main.qml +++ b/contents/ui/main.qml @@ -1,14 +1,14 @@ -import QtQuick 2.12 -import QtQuick.Layouts 1.12 +import QtQuick 2.15 +import QtQuick.Layouts 1.1 import QtQuick.Controls 2.5 -import QtMultimedia 5.15 +import QtMultimedia 6.7 import org.kde.plasma.plasmoid 2.0 -import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.core as PlasmaCore -Item { +PlasmoidItem { Plasmoid.backgroundHints: PlasmaCore.Types.NoBackground - Plasmoid.fullRepresentation: Item { + fullRepresentation: Item { Layout.minimumWidth: 100 Layout.minimumHeight: 100 Layout.preferredWidth: 200 diff --git a/metadata.json b/metadata.json index f36b91d..d16c4af 100644 --- a/metadata.json +++ b/metadata.json @@ -8,7 +8,7 @@ ], "Category": "Fun and Games", "Description": "The Sharkle widget, as featured in Night in the Woods, now on KDE Plasma!", - "Icon": "./icon.png", + "Icon": "icons/lockers.svg", "Id": "im.fcd.sharkle", "License": "GPLv3", "Name": "Sharkle", @@ -18,7 +18,7 @@ "Version": "1.0", "Website": "https://github.com/folfcoder/plasma-sharkle" }, - "X-Plasma-API": "declarativeappletscript", + "X-Plasma-API-Minimum-Version": "6.0", "X-Plasma-MainScript": "ui/main.qml", "KPackageStructure": "Plasma/Applet", "X-Plasma-StandAloneApp": true