From 8cd6aceae9ddf16a7f6ed3a10d361f927fd164e1 Mon Sep 17 00:00:00 2001 From: korovkin Date: Sun, 26 Mar 2006 20:29:20 +0000 Subject: Made device names in national codings readable. --- 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() { -- cgit v0.9.0.2