Qml/Main: move add mod action to global drawer
This commit is contained in:
parent
0ad0b3e605
commit
b0cebe12a0
1 changed files with 6 additions and 9 deletions
|
|
@ -11,6 +11,12 @@ Kirigami.ApplicationWindow {
|
||||||
|
|
||||||
globalDrawer: Kirigami.GlobalDrawer {
|
globalDrawer: Kirigami.GlobalDrawer {
|
||||||
actions: [
|
actions: [
|
||||||
|
Kirigami.Action {
|
||||||
|
// download-symbolic and install-symbolic are the same icon
|
||||||
|
// but install looks worse for some reason
|
||||||
|
icon.name: "download-symbolic"
|
||||||
|
text: "Add mod"
|
||||||
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: "Quit"
|
text: "Quit"
|
||||||
icon.name: "application-exit-symbolic"
|
icon.name: "application-exit-symbolic"
|
||||||
|
|
@ -25,15 +31,6 @@ Kirigami.ApplicationWindow {
|
||||||
pageStack.initialPage: Kirigami.ScrollablePage {
|
pageStack.initialPage: Kirigami.ScrollablePage {
|
||||||
title: "Mods"
|
title: "Mods"
|
||||||
|
|
||||||
actions: [
|
|
||||||
Kirigami.Action {
|
|
||||||
// download-symbolic and install-symbolic are the same icon
|
|
||||||
// but install looks worse for some reason
|
|
||||||
icon.name: "download-symbolic"
|
|
||||||
text: "Add mod"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
Kirigami.CardsListView {
|
Kirigami.CardsListView {
|
||||||
id: modsView
|
id: modsView
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue