From 4d0ac7b5c0851a09ec57250adf2e3cf0fd819360 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sun, 23 Jul 2000 17:18:29 +0000 Subject: [PATCH] fixed counting problem. On creation of the config file counting started with 2, creating Desktop 2 Desktop 3 etc. svn path=/trunk/kdebase/kwin/; revision=58433 --- workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace.cpp b/workspace.cpp index 5d2b9957db..5f71108dee 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -2699,7 +2699,7 @@ void Workspace::loadDesktopSettings() rootInfo->setNumberOfDesktops( number_of_desktops ); for(int i = 1; i <= n; i++) { QString s = c.readEntry(QString("Name_%1").arg(i), - i18n("Desktop %1").arg(i+1)); + i18n("Desktop %1").arg(i)); rootInfo->setDesktopName( i, s.utf8().data() ); } }