summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show 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
@@ -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
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
@@ -4,13 +4,13 @@
4using namespace OpieTooth; 4using namespace OpieTooth;
5 5
6 6
7BTDeviceItem::BTDeviceItem( QListView* parent, const RemoteDevice& dev ) 7BTDeviceItem::BTDeviceItem( QListView* parent, const RemoteDevice& dev )
8 : BTListItem( parent ) { 8 : BTListItem( parent ) {
9 9
10 setText( 0, dev.name().utf8() ); 10 setText( 0, dev.name() );
11 m_device = dev; 11 m_device = dev;
12}; 12};
13BTDeviceItem::~BTDeviceItem() { 13BTDeviceItem::~BTDeviceItem() {
14// nothing I'm aware of 14// nothing I'm aware of
15} 15}
16RemoteDevice BTDeviceItem::remoteDevice() const { 16RemoteDevice BTDeviceItem::remoteDevice() const {