Fix some warnings around pagestack calls
This commit is contained in:
@@ -46,7 +46,7 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
let imageEditor = applicationWindow().pageStack.pushDialogLayer(imageEditorPage);
|
let imageEditor = (Kirigami.PageStack.pageStack as Kirigami.PageRow).pushDialogLayer(imageEditorPage);
|
||||||
imageEditor.newPathChanged.connect(function (newPath) {
|
imageEditor.newPathChanged.connect(function (newPath) {
|
||||||
applicationWindow().pageStack.layers.pop();
|
applicationWindow().pageStack.layers.pop();
|
||||||
root.attachmentPath = newPath;
|
root.attachmentPath = newPath;
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ QQC2.Control {
|
|||||||
activeFocusOnTab: true
|
activeFocusOnTab: true
|
||||||
|
|
||||||
onSelected: {
|
onSelected: {
|
||||||
let dialog = pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'ExploreRoomsPage'), {
|
let dialog = (Kirigami.PageStack.pageStack as Kirigami.PageRow).pushDialogLayer(Qt.createComponent('org.kde.neochat', 'ExploreRoomsPage'), {
|
||||||
connection: root.connection,
|
connection: root.connection,
|
||||||
keyword: RoomManager.sortFilterRoomTreeModel.filterText
|
keyword: RoomManager.sortFilterRoomTreeModel.filterText
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in New Issue
Block a user