mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
plasma: remove client session configs once session is restored
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6f8ca7decb
commit
d13ff93844
1 changed files with 6 additions and 0 deletions
|
@ -1009,6 +1009,12 @@ void PlasmaApp::restoreClients()
|
|||
}
|
||||
sessiongroup.deleteGroup();
|
||||
sessiongroup.sync();
|
||||
|
||||
const QStringList sessionconfigs = KGlobal::dirs()->findAllResources("config", "session/*");
|
||||
foreach (const QString &sessionconfig, sessionconfigs) {
|
||||
kDebug() << "removing client session config" << sessionconfig;
|
||||
QFile::remove(sessionconfig);
|
||||
}
|
||||
}
|
||||
|
||||
void PlasmaApp::registerClient(const QString &client)
|
||||
|
|
Loading…
Add table
Reference in a new issue