From fbb30bb863cf9087101e75803eb5b7024fb5b7d0 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Fri, 18 Jan 2019 23:42:02 +0200 Subject: [PATCH] Delete names of removed desktops from kwinrc Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D18372 --- virtualdesktops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualdesktops.cpp b/virtualdesktops.cpp index f81efc74fc..8826239412 100644 --- a/virtualdesktops.cpp +++ b/virtualdesktops.cpp @@ -756,7 +756,7 @@ void VirtualDesktopManager::save() for (int i = count() + 1; group.hasKey(QStringLiteral("Id_%1").arg(i)); i++) { group.deleteEntry(QStringLiteral("Id_%1").arg(i)); - group.deleteEntry(QStringLiteral("Name_").arg(i)); + group.deleteEntry(QStringLiteral("Name_%1").arg(i)); } group.writeEntry("Number", count());