summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/btlistitem.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/btlistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/btlistitem.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/btlistitem.cpp b/noncore/net/opietooth/manager/btlistitem.cpp
index 4901710..19d1057 100644
--- a/noncore/net/opietooth/manager/btlistitem.cpp
+++ b/noncore/net/opietooth/manager/btlistitem.cpp
@@ -15,16 +15,19 @@ namespace OpieTooth {
// name, and then mac and then servicetype
BTListItem::BTListItem( QListView * parent, QString name , QString mac, QString type )
- : QListViewItem( parent, name, mac, type ){
+ : QListViewItem( parent, name ){
+ setText(4, mac);
+ setText(5, type);
}
BTListItem::BTListItem( QListViewItem * parent , QString name, QString mac, QString type )
- : QListViewItem( parent, name, mac, type ){
-
+ : QListViewItem( parent, name ){
+ setText(4, mac);
+ setText(5, type);
}
BTListItem::~BTListItem() {
}
-}
+};