summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp
index 70ea77a..8a7ea01 100644
--- a/noncore/net/opietooth/manager/scandialog.cpp
+++ b/noncore/net/opietooth/manager/scandialog.cpp
@@ -134,7 +134,6 @@ namespace OpieTooth {
deviceItem = new QCheckListItem( ListView1, (*it).name() );
deviceItem->setText(1, (*it).mac() );
}
-
}
/*
@@ -151,7 +150,7 @@ namespace OpieTooth {
QListViewItemIterator it( ListView1 );
for ( ; it.current(); ++it ) {
- if ( it.current()->isSelected() ) {
+ if ( ((QCheckListItem*)it.current())->isOn() ) {
RemoteDevices* device = new RemoteDevices( it.current()->text(1), it.current()->text(0));
deviceList->append( device );
}