summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-06-28 16:46:52 (UTC)
committer harlekin <harlekin>2002-06-28 16:46:52 (UTC)
commit986a23a683f53ab612be03b56dd9bc7c1aeb3651 (patch) (side-by-side diff)
tree6447f2738d30aff40126b327272effdf8745597b
parente72d93a703f4b38109f8f02ec96a759d93b8f91c (diff)
downloadopie-986a23a683f53ab612be03b56dd9bc7c1aeb3651.zip
opie-986a23a683f53ab612be03b56dd9bc7c1aeb3651.tar.gz
opie-986a23a683f53ab612be03b56dd9bc7c1aeb3651.tar.bz2
update
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/hciconfwrapper.cpp13
1 files changed, 6 insertions, 7 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
@@ -1,2 +1,2 @@
-#include "hciconfwrapper.h"
+ #include "hciconfwrapper.h"
@@ -93,3 +93,3 @@ namespace OpieTooth {
qDebug("Found");
- // still need look if its commented out!!!
+ // still need to look if its commented out!!!
str.simplifyWhiteSpace();
@@ -97,5 +97,5 @@ namespace OpieTooth {
if (str.startsWith("#")) {
- outstream << (key + " " + value + ";\n");
+ str = (key + " " + value + ";");
} else {
- str.replace( QRegExp( "\\s*"+key+"\\s+[^\\s][^;]*;" ), key + " " + value + ";\n");
+ str = str.replace( QRegExp( "\\s*"+key+"\\s+[^\\s][^;]*;" ), key + " " + value + ";");
}
@@ -103,6 +103,5 @@ namespace OpieTooth {
qDebug( str );
- outstream << str;
- } else {
- outstream << str + "\n";
}
+
+ outstream << str << endl;
}