author | zautrix <zautrix> | 2005-04-17 14:37:34 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-17 14:37:34 (UTC) |
commit | 02dc5d8173393d2069951a5f847db5bdf69137f6 (patch) (side-by-side diff) | |
tree | a72c700d0072ae0074efabdc5a0563f14fdbadcd | |
parent | b411ec2d8961d07c3e2e9aefc9e04322b7851859 (diff) | |
download | kdepimpi-02dc5d8173393d2069951a5f847db5bdf69137f6.zip kdepimpi-02dc5d8173393d2069951a5f847db5bdf69137f6.tar.gz kdepimpi-02dc5d8173393d2069951a5f847db5bdf69137f6.tar.bz2 |
qdebugcleanup
-rw-r--r-- | microkde/kconfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/microkde/kconfig.cpp b/microkde/kconfig.cpp index 9598274..e0b6e99 100644 --- a/microkde/kconfig.cpp +++ b/microkde/kconfig.cpp @@ -65,25 +65,25 @@ QValueList<int> KConfig::readIntListEntry( const QString & key) return result; } QStringList valuesAsStrings = QStringList::split(":", *mit ); bool ok = false; bool ok2 = true; int val; for ( QStringList::Iterator sit = valuesAsStrings.begin(); sit != valuesAsStrings.end(); ++sit ) { val = (*sit).toInt(&ok); result << val; if (ok == false) { - qDebug("KConfig::readIntListEntry str=%s , int=%n:", (*sit).latin1(), &val); + //qDebug("KConfig::readIntListEntry str=%s , int=%n:", (*sit).latin1(), &val); ok2 = false; } } if (ok2 == false) { qDebug("KConfig::readIntListEntry: error while reading one of the intvalues."); } return result; } @@ -260,25 +260,25 @@ void KConfig::writeEntry( const QString & e , const QFont & f ) void KConfig::writeEntry( const QString &key, const QDateTime &dt ) { mDateTimeMap.insert( mGroup + key, dt ); } void KConfig::load() { QFile f( mFileName ); if ( !f.open( IO_ReadOnly ) ) { - qDebug("KConfig: could not open file %s ",mFileName.latin1() ); + //qDebug("KConfig: could not open file %s ",mFileName.latin1() ); return; } mBoolMap.clear(); mStringMap.clear(); QTextStream t( &f ); t.setEncoding( QTextStream::Latin1 ); QString line = t.readLine(); while ( !line.isNull() ) { QStringList tokens = QStringList::split( ",", line ); |