[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/ksysguard/gui
From: Helge Deller <deller () kde ! org>
Date: 2003-06-20 6:18:44
[Download RAW message or body]
CVS commit by deller:
fix roaming user paths: e.g. user readPathEntry instead of readEntry
M +5 -5 Workspace.cc 1.59
--- kdebase/ksysguard/gui/Workspace.cc #1.58:1.59
@@ -66,5 +66,5 @@ Workspace::~Workspace()
void Workspace::saveProperties( KConfig *cfg )
{
- cfg->writeEntry( "WorkDir", mWorkDir );
+ cfg->writePathEntry( "WorkDir", mWorkDir );
cfg->writeEntry( "CurrentSheet", tabLabel( currentPage() ) );
@@ -76,5 +76,5 @@ void Workspace::saveProperties( KConfig
list.append( (*it)->fileName() );
- cfg->writeEntry( "Sheets", list );
+ cfg->writePathEntry( "Sheets", list );
}
@@ -83,5 +83,5 @@ void Workspace::readProperties( KConfig
QString currentSheet;
- mWorkDir = cfg->readEntry( "WorkDir" );
+ mWorkDir = cfg->readPathEntry( "WorkDir" );
if ( mWorkDir.isEmpty() ) {
@@ -107,5 +107,5 @@ void Workspace::readProperties( KConfig
} else {
currentSheet = cfg->readEntry( "CurrentSheet" );
- QStringList list = cfg->readListEntry( "Sheets" );
+ QStringList list = cfg->readPathListEntry( "Sheets" );
for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it )
restoreWorkSheet( *it );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic