diff options
| author | Amol Godbole <[email protected]> | 2023-11-09 11:05:48 -0600 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2024-01-14 08:34:58 +0000 |
| commit | c035e95e1d74fecd8267b08009c616232e2c16b0 (patch) | |
| tree | 2b3893a51722c426db9a3acf5b85ad0c645f9be4 /src/main.cpp | |
| parent | f15c8d9238124641b1d93a101b69e9a5651b5028 (diff) | |
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
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4c4d790bc..e93ee43bc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -245,6 +245,8 @@ int main(int argc, char **argv) } } + mainWindow->setSessionAutoSaveEnabled(GeneralSettings::rememberOpenedTabs()); + #if HAVE_KUSERFEEDBACK auto feedbackProvider = DolphinFeedbackProvider::instance(); Q_UNUSED(feedbackProvider) |
