[plasma-mobile/qmlkonsole] src/contents/ui: Turn off popHiddenPages

Devin Lin <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 71ff720436e49dfd5769ae9fcfc356f4977e00de by Devin Lin.
Committed on 19/07/2026 at 04:59.
Pushed by devinlin into branch 'master'.

Turn off popHiddenPages

This should have no visual change, and will hopefully fix pages not getting added to the page stack on mobile.

M  +1    -1    src/contents/ui/TerminalPage.qml
M  +4    -5    src/contents/ui/main.qml

https://invent.kde.org/plasma-mobile/qmlkonsole/-/commit/71ff720436e49dfd5769ae9fcfc356f4977e00de

diff --git a/src/contents/ui/TerminalPage.qml b/src/contents/ui/TerminalPage.qml
index 49bc425..49710ed 100644
--- a/src/contents/ui/TerminalPage.qml
+++ b/src/contents/ui/TerminalPage.qml
@@ -79,7 +79,7 @@ Kirigami.Page {
             root.settingsDialogLoader.active = true;
             root.settingsDialogLoader.item.open();
         } else {
-            pageStack.push("qrc:/SettingsPage.qml",
+            applicationWindow().pageStack.push("qrc:/SettingsPage.qml",
                 {
                     terminal: currentTerminal
                 }
diff --git a/src/contents/ui/main.qml b/src/contents/ui/main.qml
index 1b0e8bf..9c7b910 100644
--- a/src/contents/ui/main.qml
+++ b/src/contents/ui/main.qml
@@ -15,15 +15,14 @@ Kirigami.ApplicationWindow {
     title: i18n("Terminal")
 
     pageStack.initialPage: "qrc:/TerminalPage.qml"
-    
+
     pageStack.globalToolBar.style: Kirigami.ApplicationHeaderStyle.ToolBar
     pageStack.globalToolBar.showNavigationButtons: Kirigami.ApplicationHeaderStyle.ShowBackButton;
-    
+
     pageStack.columnView.columnResizeMode: Kirigami.ColumnView.SingleColumn
-    pageStack.popHiddenPages: true
-    
+
     color: "transparent"
-    
+
     Component.onCompleted: {
         if (TerminalSettings.blurWindow) {
             Util.setBlur(pageStack, true);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.