diff options
Diffstat (limited to 'kinit/kdostartupconfig.cpp')
-rw-r--r-- | kinit/kdostartupconfig.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kinit/kdostartupconfig.cpp b/kinit/kdostartupconfig.cpp index b9885453b..1479cbd7d 100644 --- a/kinit/kdostartupconfig.cpp +++ b/kinit/kdostartupconfig.cpp @@ -105,9 +105,9 @@ int main() { TQString key = it.key(); TQString value = *it; - startupconfig << file.replace( ' ', '_' ).lower() - << "_" << group.replace( ' ', '_' ).lower() - << "_" << key.replace( ' ', '_' ).lower() + startupconfig << TQString(file.replace( ' ', '_' )).lower() + << "_" << TQString(group.replace( ' ', '_' )).lower() + << "_" << TQString(key.replace( ' ', '_' )).lower() << "=\"" << value.replace( "\"", "\\\"" ) << "\"\n"; } } @@ -119,9 +119,9 @@ int main() cfg.setGroup( group ); TQString value = cfg.readEntry( key, def ); startupconfig << "# " << line << "\n"; - startupconfig << file.replace( ' ', '_' ).lower() - << "_" << group.replace( ' ', '_' ).lower() - << "_" << key.replace( ' ', '_' ).lower() + startupconfig << TQString(file.replace( ' ', '_' )).lower() + << "_" << TQString(group.replace( ' ', '_' )).lower() + << "_" <<TQString( key.replace( ' ', '_' )).lower() << "=\"" << value.replace( "\"", "\\\"" ) << "\"\n"; } startupconfigfiles << line << endl; |