Diffstat (limited to 'microkde/kresources/resource.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kresources/resource.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/microkde/kresources/resource.cpp b/microkde/kresources/resource.cpp index 991d53d..4f69540 100644 --- a/microkde/kresources/resource.cpp +++ b/microkde/kresources/resource.cpp @@ -51,7 +51,7 @@ Resource::Resource( const KConfig* config ) d->mIsOpen = false; //US compiler claimed that const discards qualifier - KConfig* cfg = (KConfig*)config; + KConfig* cfg = (KConfig*)config; if ( cfg ) { #ifdef _WIN32_ // we use plugins on win32. the group is stored in a static variable @@ -82,7 +82,7 @@ Resource::~Resource() void Resource::writeConfig( KConfig* config ) { - + config->writeEntry( "ResourceType", d->mType ); config->writeEntry( "ResourceName", d->mName ); @@ -191,3 +191,4 @@ void Resource::dump() const kdDebug(5650) << " Active: " << ( d->mActive ? "yes" : "no" ) << endl; kdDebug(5650) << " IsOpen: " << ( d->mIsOpen ? "yes" : "no" ) << endl; } + |