diff --git a/data/update_window_settings.cpp b/data/update_window_settings.cpp index 002c2bfa6d..74dd092080 100644 --- a/data/update_window_settings.cpp +++ b/data/update_window_settings.cpp @@ -76,10 +76,10 @@ void loadFakeSessionInfo( KConfig* config ) QString n = QString::number(i); SessionInfo* info = new SessionInfo; fakeSession.append( info ); - info->windowRole = config->readEntry( QString("windowRole")+n, QString() ).latin1(); - info->resourceName = config->readEntry( QString("resourceName")+n, QString() ).latin1(); - info->resourceClass = config->readEntry( QString("resourceClass")+n, QString() ).toLower().latin1(); - info->wmClientMachine = config->readEntry( QString("clientMachine")+n, QString() ).latin1(); + info->windowRole = config->readEntry( QString("windowRole")+n, QString() ).toLatin1(); + info->resourceName = config->readEntry( QString("resourceName")+n, QString() ).toLatin1(); + info->resourceClass = config->readEntry( QString("resourceClass")+n, QString() ).toLower().toLatin1(); + info->wmClientMachine = config->readEntry( QString("clientMachine")+n, QString() ).toLatin1(); info->geometry = config->readEntry( QString("geometry")+n, QRect() ); info->restore = config->readEntry( QString("restore")+n, QRect() ); info->fsrestore = config->readEntry( QString("fsrestore")+n, QRect() ); @@ -94,7 +94,7 @@ void loadFakeSessionInfo( KConfig* config ) info->skipTaskbar = config->readEntry( QString("skipTaskbar")+n, false ); info->skipPager = config->readEntry( QString("skipPager")+n, false ); info->userNoBorder = config->readEntry( QString("userNoBorder")+n, false ); - info->windowType = txtToWindowType( config->readEntry( QString("windowType")+n, QString() ).latin1()); + info->windowType = txtToWindowType( config->readEntry( QString("windowType")+n, QString() ).toLatin1()); info->active = false; info->fake = true; }