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 {
|
||||
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 {
|
||||
text: "Quit"
|
||||
icon.name: "application-exit-symbolic"
|
||||
|
|
@ -25,15 +31,6 @@ Kirigami.ApplicationWindow {
|
|||
pageStack.initialPage: Kirigami.ScrollablePage {
|
||||
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 {
|
||||
id: modsView
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue