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
This commit is contained in:
parent
ae07d17aef
commit
4d0ac7b5c0
1 changed files with 1 additions and 1 deletions
|
@ -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() );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue