From a401b1a999edc50a9e648d1b1b0f25a6ca84621f Mon Sep 17 00:00:00 2001 From: Frank Osterfeld Date: Wed, 19 Apr 2006 19:04:11 +0000 Subject: [PATCH] deprecated-- latin1() => toLatin1() ascii() => toAscii() svn path=/trunk/KDE/kdebase/workspace/; revision=531650 --- data/update_window_settings.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; }