author | harlekin <harlekin> | 2002-06-28 16:46:52 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-28 16:46:52 (UTC) |
commit | 986a23a683f53ab612be03b56dd9bc7c1aeb3651 (patch) (unidiff) | |
tree | 6447f2738d30aff40126b327272effdf8745597b | |
parent | e72d93a703f4b38109f8f02ec96a759d93b8f91c (diff) | |
download | opie-986a23a683f53ab612be03b56dd9bc7c1aeb3651.zip opie-986a23a683f53ab612be03b56dd9bc7c1aeb3651.tar.gz opie-986a23a683f53ab612be03b56dd9bc7c1aeb3651.tar.bz2 |
update
-rw-r--r-- | noncore/net/opietooth/manager/hciconfwrapper.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/noncore/net/opietooth/manager/hciconfwrapper.cpp b/noncore/net/opietooth/manager/hciconfwrapper.cpp index db6a326..7b2497a 100644 --- a/noncore/net/opietooth/manager/hciconfwrapper.cpp +++ b/noncore/net/opietooth/manager/hciconfwrapper.cpp | |||
@@ -93,3 +93,3 @@ namespace OpieTooth { | |||
93 | qDebug("Found"); | 93 | qDebug("Found"); |
94 | // still need look if its commented out!!! | 94 | // still need to look if its commented out!!! |
95 | str.simplifyWhiteSpace(); | 95 | str.simplifyWhiteSpace(); |
@@ -97,5 +97,5 @@ namespace OpieTooth { | |||
97 | if (str.startsWith("#")) { | 97 | if (str.startsWith("#")) { |
98 | outstream << (key + " " + value + ";\n"); | 98 | str = (key + " " + value + ";"); |
99 | } else { | 99 | } else { |
100 | str.replace( QRegExp( "\\s*"+key+"\\s+[^\\s][^;]*;" ), key + " " + value + ";\n"); | 100 | str = str.replace( QRegExp( "\\s*"+key+"\\s+[^\\s][^;]*;" ), key + " " + value + ";"); |
101 | } | 101 | } |
@@ -103,6 +103,5 @@ namespace OpieTooth { | |||
103 | qDebug( str ); | 103 | qDebug( str ); |
104 | outstream << str; | ||
105 | } else { | ||
106 | outstream << str + "\n"; | ||
107 | } | 104 | } |
105 | |||
106 | outstream << str << endl; | ||
108 | } | 107 | } |