author | korovkin <korovkin> | 2006-03-26 20:29:20 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-03-26 20:29:20 (UTC) |
commit | 8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1 (patch) (unidiff) | |
tree | a76fd890724b3d1954aa398d52fc7ac26fae0d90 /noncore/net/opietooth/lib/manager.cc | |
parent | c4f82599db775f52c7e04cce09c7c45ecc89ccfd (diff) | |
download | opie-8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1.zip opie-8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1.tar.gz opie-8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1.tar.bz2 |
Made device names in national codings readable.
Diffstat (limited to 'noncore/net/opietooth/lib/manager.cc') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opietooth/lib/manager.cc b/noncore/net/opietooth/lib/manager.cc index 83100f1..83accf7 100644 --- a/noncore/net/opietooth/lib/manager.cc +++ b/noncore/net/opietooth/lib/manager.cc | |||
@@ -217,13 +217,13 @@ RemoteDevice::ValueList Manager::parseHCIOutput(const QString& output ) { | |||
217 | int pos = str.findRev(':' ); | 217 | int pos = str.findRev(':' ); |
218 | if ( pos > 0 ) { | 218 | if ( pos > 0 ) { |
219 | QString mac = str.left(17 ); | 219 | QString mac = str.left(17 ); |
220 | str.remove( 0, 17 ); | 220 | str.remove( 0, 17 ); |
221 | odebug << "Manager: mac " << mac.latin1() << oendl; | 221 | odebug << "Manager: mac " << mac.latin1() << oendl; |
222 | odebug << "Manager: rest: " << str.latin1() << oendl; | 222 | odebug << "Manager: rest: " << str.latin1() << oendl; |
223 | RemoteDevice rem( mac , str.stripWhiteSpace() ); | 223 | RemoteDevice rem( mac , QString::fromUtf8(str.stripWhiteSpace()) ); |
224 | list.append( rem ); | 224 | list.append( rem ); |
225 | } | 225 | } |
226 | } | 226 | } |
227 | return list; | 227 | return list; |
228 | } | 228 | } |
229 | 229 | ||