author | ar <ar> | 2004-04-07 11:23:41 (UTC) |
---|---|---|
committer | ar <ar> | 2004-04-07 11:23:41 (UTC) |
commit | 0e2322d2bc926036d62153346bb03776df1ca987 (patch) (side-by-side diff) | |
tree | 217ce66605d7b68252662942dc98524a7f2d872f | |
parent | 6095b1f70bcac407208e7473598f2bbf53339810 (diff) | |
download | opie-0e2322d2bc926036d62153346bb03776df1ca987.zip opie-0e2322d2bc926036d62153346bb03776df1ca987.tar.gz opie-0e2322d2bc926036d62153346bb03776df1ca987.tar.bz2 |
fix compile problem with gcc3.3.3
-rw-r--r-- | noncore/settings/networksettings2/networksettings2/netnode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/netnode.cpp b/noncore/settings/networksettings2/networksettings2/netnode.cpp index 417fba8..dc66aff 100644 --- a/noncore/settings/networksettings2/networksettings2/netnode.cpp +++ b/noncore/settings/networksettings2/networksettings2/netnode.cpp @@ -12,25 +12,25 @@ #include "asfullsetup.h" QString & deQuote( QString & X ) { if( X[0] == '"' ) { // remove end and trailing "" and \x -> x QChar R; long idx; idx = X.length()-1; X = X.mid( 1, idx ); idx = 0; while( ( idx = X.find( '\\', idx ) ) >= 0 ) { - R = X[idx+1]; + R = X.at( idx + 1 ); X.replace( idx, 2, &R, 1 ); } X = X.left( X.length()-1 ); } return X; } QString quote( QString X ) { if( X.find( QRegExp( "[ \n\"\\\t]" ) ) >= 0 ) { // need to quote this QString OutString = "\""; |