From 53f0341d98b55fdee801ec934f6b21ee33942ed5 Mon Sep 17 00:00:00 2001 From: Toast Date: Fri, 6 Jun 2025 04:26:16 +0200 Subject: [PATCH] Qml/Main: add icon and action to placeholder --- src/leek/qml/Main.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/leek/qml/Main.qml b/src/leek/qml/Main.qml index 103b0e7..aa216a6 100644 --- a/src/leek/qml/Main.qml +++ b/src/leek/qml/Main.qml @@ -16,6 +16,7 @@ Kirigami.ApplicationWindow { Kirigami.Action { // download-symbolic and install-symbolic are the same icon // but install looks worse for some reason + id: addAction icon.name: "download-symbolic" text: "Add mod" shortcut: StandardKey.New @@ -84,10 +85,11 @@ Kirigami.ApplicationWindow { Kirigami.PlaceholderMessage { anchors.centerIn: parent - + icon.name: "edit-none" visible: modsView.count === 0 text: "There's no mods installed" explanation: "Install a mod, and it will show up here" + helpfulAction: addAction } } }