Fix another KConfigGroup related compile error

svn path=/trunk/KDE/kdebase/workspace/; revision=735793
This commit is contained in:
Rivo Laks 2007-11-12 16:35:01 +00:00
parent c4e55307ce
commit 31571da734

View file

@ -138,11 +138,11 @@ KDesktopConfig::KDesktopConfig(QWidget *parent, const QVariantList &)
KSharedConfig::Ptr config = KSharedConfig::openConfig( "kwinrc" );
QByteArray groupname;
QString groupname;
if (kwin_screen_number == 0)
groupname = "Desktops";
else
groupname = "Desktops-screen-" + QByteArray::number ( kwin_screen_number );
groupname = "Desktops-screen-" + QString::number ( kwin_screen_number );
if (config->isGroupImmutable(groupname))
{