From b5222dd7a607f78235b1ea39fea0f95a9c08ccd3 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 30 Mar 2005 11:55:53 +0000 Subject: fixes --- (limited to 'microkde') diff --git a/microkde/kdatetbl.cpp b/microkde/kdatetbl.cpp index d182279..2d97c8c 100644 --- a/microkde/kdatetbl.cpp +++ b/microkde/kdatetbl.cpp @@ -324,7 +324,7 @@ KDateTable::setFontSize(int size) #endif if ( maxCell.width() * 1000 / maxCell.height() > 1900 ) { maxCell.setHeight(maxCell.width() * 1000 / 1900 ); - qDebug("setmax "); + //qDebug("setmax "); } } diff --git a/microkde/kdecore/kstandarddirs.cpp b/microkde/kdecore/kstandarddirs.cpp index 810c889..4ab1a68 100644 --- a/microkde/kdecore/kstandarddirs.cpp +++ b/microkde/kdecore/kstandarddirs.cpp @@ -1203,7 +1203,7 @@ bool KStandardDirs::makeDir(const QString& dir2, int mode) } -static QString readEnvPath(const char *env) +QString readEnvPath(const char *env) { //#ifdef _WIN32_ // return ""; @@ -1306,6 +1306,8 @@ void KStandardDirs::addKDEDefaults() localKdeDir = qApp->applicationDirPath () + "/"+ localKdeDir.mid( 6 ); #endif qDebug("Using local conf dir %s ",localKdeDir.latin1() ); + // + setenv( "LOCALMICROKDEHOME", localKdeDir.latin1(), 1 ); } #endif } diff --git a/microkde/kdecore/kstandarddirs.h b/microkde/kdecore/kstandarddirs.h index bee864e..901384e 100644 --- a/microkde/kdecore/kstandarddirs.h +++ b/microkde/kdecore/kstandarddirs.h @@ -647,6 +647,7 @@ public: * \endcode **/ + /*! * \relates KStandardDirs * This function is just for convenience. It simply calls @@ -676,6 +677,9 @@ QString locateLocal( const char *type, const QString& filename /*US , const KIns **/ QString locateLocal( const char *type, const QString& filename, bool createDir /*US , const KInstance* instance = KGlobal::instance() */); +QString readEnvPath(const char *env); + + /*! @} */ #endif // SSK_KSTDDIRS_H -- cgit v0.9.0.2