[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kabc/plugins
From: Helge Deller <deller () kde ! org>
Date: 2003-06-18 6:51:06
[Download RAW message or body]
CVS commit by deller:
fix roaming user bug: allways use $HOME expansion for filenames !
M +2 -2 dir/resourcedir.cpp 1.14
M +2 -2 file/resourcefile.cpp 1.15
--- kdelibs/kabc/plugins/dir/resourcedir.cpp #1.13:1.14
@@ -42,5 +42,5 @@ ResourceDir::ResourceDir( const KConfig
if ( config ) {
- path = config->readEntry( "FilePath" );
+ path = config->readPathEntry( "FilePath" );
mFormatName = config->readEntry( "FileFormat" );
} else {
@@ -75,5 +75,5 @@ void ResourceDir::writeConfig( KConfig *
Resource::writeConfig( config );
- config->writeEntry( "FilePath", mPath );
+ config->writePathEntry( "FilePath", mPath );
config->writeEntry( "FileFormat", mFormatName );
}
--- kdelibs/kabc/plugins/file/resourcefile.cpp #1.14:1.15
@@ -37,5 +37,5 @@ ResourceFile::ResourceFile( const KConfi
if ( config ) {
- fileName = config->readEntry( "FileName", StdAddressBook::fileName() );
+ fileName = config->readPathEntry( "FileName", StdAddressBook::fileName() );
formatName = config->readEntry( "FileFormat", "vcard" );
} else {
@@ -83,5 +83,5 @@ void ResourceFile::writeConfig( KConfig
Resource::writeConfig( config );
- config->writeEntry( "FileName", mFileName );
+ config->writePathEntry( "FileName", mFileName );
config->writeEntry( "FileFormat", mFormatName );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic