summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-07-02 17:36:09 (UTC)
committer zautrix <zautrix>2005-07-02 17:36:09 (UTC)
commit8eea5713638412f5613be51b339f0452f629705c (patch) (side-by-side diff)
tree6c5652cf91f3b9ef6b46a94c4e7d49c10d241d9f
parent0233482f5f4baf7a0af45229b02c5deaab17a412 (diff)
downloadkdepimpi-8eea5713638412f5613be51b339f0452f629705c.zip
kdepimpi-8eea5713638412f5613be51b339f0452f629705c.tar.gz
kdepimpi-8eea5713638412f5613be51b339f0452f629705c.tar.bz2
fixi
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--microkde/kconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kconfig.cpp b/microkde/kconfig.cpp
index 821e386..940196e 100644
--- a/microkde/kconfig.cpp
+++ b/microkde/kconfig.cpp
@@ -52,33 +52,33 @@ QString KConfig::group() const {
return mGroup;
}
//US added method
QValueList<int> KConfig::readIntListEntry( const QString & key)
{
// qDebug("KConfig::readIntListEntry key=%s:", key.latin1());
QValueList<int> result;
QMap<QString,QString>::ConstIterator mit = mStringMap.find( mGroup + key );
if ( mit == mStringMap.end() ) {
return result;
}
- QStringList valuesAsStrings = QStringList::split(":@:", *mit );
+ 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);
ok2 = false;
}
}
if (ok2 == false)
{