]> cloud.milkyroute.net Git - dolphin.git/commit
Fix session restore
authorFelix Ernst <felixernst@zohomail.eu>
Tue, 15 Apr 2025 21:06:26 +0000 (23:06 +0200)
committerFelix Ernst <felixernst@kde.org>
Wed, 16 Apr 2025 13:27:41 +0000 (13:27 +0000)
commitc0bf226aa1cc02c9bffff1ec05e07a255d8d2f6e
tree7b213acb67627e040e40ecc3c33128aa97fcfff5
parentee9ebf2b17724a161ccd4dccab0504f1082010b7
Fix session restore

Since https://commits.kde.org/kxmlgui/8c9fb02a1d37672b26a03a9dd9e8675743deb269
KXmlGui only triggers a session restore for a window when the
session config contains a "NumberOfWindows" key with a value >= 1.
This commit adds such a key to the Dolphin session config, which
fixes the Dolphin main window restore for KXmlGui versions
containing that commit.

BUG: 502770
src/dolphinmainwindow.cpp