From c035e95e1d74fecd8267b08009c616232e2c16b0 Mon Sep 17 00:00:00 2001 From: Amol Godbole Date: Thu, 9 Nov 2023 11:05:48 -0600 Subject: DolphinMainWindow: autosave session Currently, the session is saved only when the app quits normally. Save the session after a fixed time interval from the last state change i.e. anytime the url is changed, or a tab is opened or closed, or the active view is changed. BUG: 425627 --- src/dolphintabwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dolphintabwidget.cpp') diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index 35921647e..f274ffa2a 100644 --- a/src/dolphintabwidget.cpp +++ b/src/dolphintabwidget.cpp @@ -426,6 +426,8 @@ void DolphinTabWidget::tabUrlChanged(const QUrl &url) if (index == currentIndex()) { Q_EMIT currentUrlChanged(url); } + + Q_EMIT urlChanged(url); } } -- cgit v1.3