[ksmserver] Restore legacy sessions

Summary:
KSMServer has two modes, the slightly ancient mode (XSMP), and the
really ancient legacy mode (XSM).

When startup was rewritten in 96a595f1b8
we accidentally dropped the call that invokes restore of the legacy
session as well as the normal mode.

BUG: 404318

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19028
wilder-broken-krunner
David Edmundson 7 years ago
parent 9d7d80134e
commit b4ddae9479
  1. 1
      ksmserver/startup.cpp

@ -276,6 +276,7 @@ void RestoreSessionJob::start()
return;
}
m_ksmserver->restoreLegacySession(KSharedConfig::openConfig().data());
m_ksmserver->lastAppStarted = 0;
m_ksmserver->lastIdStarted.clear();
m_ksmserver->state = KSMServer::Restoring;

Loading…
Cancel
Save