Diffstat (limited to 'noncore/net/opietooth/manager/btlistitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/btlistitem.cpp | 11 |
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 @@ -6,25 +6,28 @@ namespace OpieTooth { BTListItem::BTListItem( QListView * parent ) : QListViewItem( parent ) { } BTListItem::BTListItem( QListViewItem * parent ) : QListViewItem( parent ) { } // 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() { } -} +}; |