summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.cpp
authorharlekin <harlekin>2002-06-16 20:21:06 (UTC)
committer harlekin <harlekin>2002-06-16 20:21:06 (UTC)
commit5c098847f0fd716c4fe697e5eb314111a4ae5df1 (patch) (unidiff)
tree590ed709442bf6ba4a28eb242840dcf1de6da756 /noncore/net/opietooth/manager/scandialog.cpp
parent8dde6abcd14717bd362248c365fe140efe0f0386 (diff)
downloadopie-5c098847f0fd716c4fe697e5eb314111a4ae5df1.zip
opie-5c098847f0fd716c4fe697e5eb314111a4ae5df1.tar.gz
opie-5c098847f0fd716c4fe697e5eb314111a4ae5df1.tar.bz2
remoteDevice not removeDevices
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 {
134 deviceItem = new QCheckListItem( ListView1, (*it).name() ); 134 deviceItem = new QCheckListItem( ListView1, (*it).name() );
135 deviceItem->setText(1, (*it).mac() ); 135 deviceItem->setText(1, (*it).mac() );
136 } 136 }
137
138 } 137 }
139 138
140/* 139/*
@@ -151,7 +150,7 @@ namespace OpieTooth {
151 150
152 QListViewItemIterator it( ListView1 ); 151 QListViewItemIterator it( ListView1 );
153 for ( ; it.current(); ++it ) { 152 for ( ; it.current(); ++it ) {
154 if ( it.current()->isSelected() ) { 153 if ( ((QCheckListItem*)it.current())->isOn() ) {
155 RemoteDevices* device = new RemoteDevices( it.current()->text(1), it.current()->text(0)); 154 RemoteDevices* device = new RemoteDevices( it.current()->text(1), it.current()->text(0));
156 deviceList->append( device ); 155 deviceList->append( device );
157 } 156 }