Get KF6 Working
Minimal set of changes so that a compiled version of NeoChat on KF6 will run and at least be functional.
This commit is contained in:
@@ -31,15 +31,15 @@ Kirigami.Page {
|
||||
imageDoc.crop(selectionTool.selectionX / ratioX, selectionTool.selectionY / ratioY, selectionTool.selectionWidth / ratioX, selectionTool.selectionHeight / ratioY);
|
||||
}
|
||||
|
||||
actions {
|
||||
left: Kirigami.Action {
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
id: undoAction
|
||||
text: i18nc("@action:button Undo modification", "Undo")
|
||||
icon.name: "edit-undo"
|
||||
onTriggered: imageDoc.undo();
|
||||
visible: imageDoc.edited
|
||||
}
|
||||
main: Kirigami.Action {
|
||||
},
|
||||
Kirigami.Action {
|
||||
id: okAction
|
||||
text: i18nc("@action:button Accept image modification", "Accept")
|
||||
icon.name: "dialog-ok"
|
||||
@@ -54,7 +54,7 @@ Kirigami.Page {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -122,10 +122,10 @@ Kirigami.ScrollablePage {
|
||||
|
||||
title: i18nc("@title:window", "Add server")
|
||||
|
||||
onSheetOpenChanged: if (!serverUrlField.isValidServer && !sheetOpen) {
|
||||
onOpened: if (!serverUrlField.isValidServer && !opened) {
|
||||
serverField.currentIndex = 0
|
||||
server = serverField.currentValue
|
||||
} else if (sheetOpen) {
|
||||
} else if (opened) {
|
||||
serverUrlField.forceActiveFocus()
|
||||
}
|
||||
|
||||
|
||||
@@ -27,13 +27,13 @@ Kirigami.Page {
|
||||
focus: true
|
||||
padding: 0
|
||||
|
||||
actions {
|
||||
main: Kirigami.Action {
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
visible: Kirigami.Settings.isMobile || !applicationWindow().pageStack.wideMode
|
||||
icon.name: "view-right-new"
|
||||
onTriggered: applicationWindow().openRoomDrawer()
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
KeyNavigation.left: pageStack.get(0)
|
||||
|
||||
|
||||
@@ -31,12 +31,12 @@ Kirigami.ScrollablePage {
|
||||
|
||||
title: roomInformation.title
|
||||
|
||||
actions {
|
||||
main: Kirigami.Action {
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
icon.name: "settings-configure"
|
||||
onTriggered: applicationWindow().pageStack.pushDialogLayer('qrc:/Categories.qml', {room: root.room}, { title: i18n("Room Settings") })
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
RoomInformation {
|
||||
id: roomInformation
|
||||
|
||||
Reference in New Issue
Block a user