Skip to content

馃崚KSMServer::tryRestore: fix indexing of entries

Fushan Wen requested to merge work/cherry-pick-5344b909 into Plasma/6.0

Inspection of entries in .config/ksmserverrc suggests that the session application entries are indexed starting from 1, while the code seems to assume that it starts from 0. This wrong assumption leads to restoring only N-1 windows, when N windows were supposed to be restored.

BUG: 477146

(cherry picked from commit 5344b909)

Merge request reports