summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2004-12-24 21:31:52 (UTC)
committer zecke <zecke>2004-12-24 21:31:52 (UTC)
commitd36845f5f7e7d6bd49529524cdc9f39ce1164491 (patch) (unidiff)
tree913eda7d766c40639f218d27303f9c3909069833 /library
parent884f95d4ad11efa472919f8485ba518748109ccc (diff)
downloadopie-d36845f5f7e7d6bd49529524cdc9f39ce1164491.zip
opie-d36845f5f7e7d6bd49529524cdc9f39ce1164491.tar.gz
opie-d36845f5f7e7d6bd49529524cdc9f39ce1164491.tar.bz2
Whitespace changes
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/config.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/config.cpp b/library/config.cpp
index 0bfb476..664ca34 100644
--- a/library/config.cpp
+++ b/library/config.cpp
@@ -467,10 +467,10 @@ void Config::write( const QString &fn )
467 QMap< QString, ConfigGroup >::Iterator g_it = groups.begin(); 467 QMap< QString, ConfigGroup >::Iterator g_it = groups.begin();
468 468
469 for ( ; g_it != groups.end(); ++g_it ) { 469 for ( ; g_it != groups.end(); ++g_it ) {
470 str += "[" + g_it.key() + "]\n"; 470 str += "[" + g_it.key() + "]\n";
471 ConfigGroup::Iterator e_it = ( *g_it ).begin(); 471 ConfigGroup::Iterator e_it = ( *g_it ).begin();
472 for ( ; e_it != ( *g_it ).end(); ++e_it ) 472 for ( ; e_it != ( *g_it ).end(); ++e_it )
473 str += e_it.key() + " = " + *e_it + "\n"; 473 str += e_it.key() + " = " + *e_it + "\n";
474 } 474 }
475 cstr = str.utf8(); 475 cstr = str.utf8();
476 476
@@ -558,7 +558,7 @@ bool Config::parse( const QString &l )
558 QString line = l.stripWhiteSpace(); 558 QString line = l.stripWhiteSpace();
559 559
560 if ( line [0] == QChar ( '#' )) 560 if ( line [0] == QChar ( '#' ))
561 return true; // ignore comments 561 return true; // ignore comments
562 562
563 if ( line[ 0 ] == QChar( '[' ) ) { 563 if ( line[ 0 ] == QChar( '[' ) ) {
564 QString gname = line; 564 QString gname = line;