summaryrefslogtreecommitdiff
path: root/noncore
authorkorovkin <korovkin>2006-03-26 20:29:20 (UTC)
committer korovkin <korovkin>2006-03-26 20:29:20 (UTC)
commit8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1 (patch) (side-by-side diff)
treea76fd890724b3d1954aa398d52fc7ac26fae0d90 /noncore
parentc4f82599db775f52c7e04cce09c7c45ecc89ccfd (diff)
downloadopie-8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1.zip
opie-8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1.tar.gz
opie-8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1.tar.bz2
Made device names in national codings readable.
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/manager.cc2
-rw-r--r--noncore/net/opietooth/manager/btdeviceitem.cpp2
2 files changed, 2 insertions, 2 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
@@ -220,7 +220,7 @@ RemoteDevice::ValueList Manager::parseHCIOutput(const QString& output ) {
str.remove( 0, 17 );
odebug << "Manager: mac " << mac.latin1() << oendl;
odebug << "Manager: rest: " << str.latin1() << oendl;
- RemoteDevice rem( mac , str.stripWhiteSpace() );
+ RemoteDevice rem( mac , QString::fromUtf8(str.stripWhiteSpace()) );
list.append( rem );
}
}
diff --git a/noncore/net/opietooth/manager/btdeviceitem.cpp b/noncore/net/opietooth/manager/btdeviceitem.cpp
index c112463..fb1b1c1 100644
--- a/noncore/net/opietooth/manager/btdeviceitem.cpp
+++ b/noncore/net/opietooth/manager/btdeviceitem.cpp
@@ -7,7 +7,7 @@ using namespace OpieTooth;
BTDeviceItem::BTDeviceItem( QListView* parent, const RemoteDevice& dev )
: BTListItem( parent ) {
- setText( 0, dev.name().utf8() );
+ setText( 0, dev.name() );
m_device = dev;
};
BTDeviceItem::~BTDeviceItem() {