-rw-r--r-- | microkde/kresources/managerimpl.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/microkde/kresources/managerimpl.cpp b/microkde/kresources/managerimpl.cpp index 81bbbec..5bd9eb7 100644 --- a/microkde/kresources/managerimpl.cpp +++ b/microkde/kresources/managerimpl.cpp @@ -36,2 +36,3 @@ $Id$ #include <kstandarddirs.h> +#include <qfile.h> @@ -70,2 +71,8 @@ void ManagerImpl::createStandardConfig() + "/kresources/" + mFamily + "rc" ); + if ( mFamily == "tmpcontact" ) { + if (QFile::exists ( file ) ){ + QFile::remove ( file ); + qDebug("removed tmp rc file: %s ", file.latin1()); + } + } mStdConfig = new KConfig( file ); |