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

Devin Lin <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 0f33cf02a2c357de646547bd860137f84fd87eb7 by Devin Lin.
Committed on 19/07/2026 at 05:01.
Pushed by devinlin into branch 'release/26.08'.

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/0f33cf02a2c357de646547bd860137f84fd87eb7

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.