Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp index c8ea3e3..3b005c4 100644 --- a/noncore/net/opietooth/manager/scandialog.cpp +++ b/noncore/net/opietooth/manager/scandialog.cpp | |||
@@ -134,28 +134,28 @@ namespace OpieTooth { | |||
134 | * Then it emits it, so the manager can connect to the signal to fill the listing. | 134 | * Then it emits it, so the manager can connect to the signal to fill the listing. |
135 | */ | 135 | */ |
136 | void ScanDialog::emitToManager() { | 136 | void ScanDialog::emitToManager() { |
137 | 137 | ||
138 | if (!ListView1) { | 138 | if (!ListView1) { |
139 | return; | 139 | return; |
140 | } | 140 | } |
141 | 141 | ||
142 | QValueList<RemoteDevice> deviceList; | 142 | QValueList<RemoteDevice> deviceList; |
143 | 143 | ||
144 | QListViewItemIterator it( ListView1 ); | 144 | QListViewItemIterator it( ListView1 ); |
145 | for ( ; it.current(); ++it ) { | 145 | for ( ; it.current(); ++it ) { |
146 | if ( ( (QCheckListItem*)it.current() )->isOn() ) { | 146 | if ( ( (QCheckListItem*)it.current() )->isOn() ) { |
147 | RemoteDevice device( it.current()->text(1), it.current()->text(0) ); | 147 | RemoteDevice device( it.current()->text(1), it.current()->text(0) ); |
148 | deviceList.append( device ); | 148 | deviceList.append( device ); |
149 | } | 149 | } |
150 | } | 150 | } |
151 | emit selectedDevices( deviceList ); | 151 | emit selectedDevices( deviceList ); |
152 | } | 152 | } |
153 | 153 | ||
154 | /** | 154 | /** |
155 | * Cleanup | 155 | * Cleanup |
156 | */ | 156 | */ |
157 | ScanDialog::~ScanDialog() { | 157 | ScanDialog::~ScanDialog() { |
158 | qWarning("delete scan dialog"); | 158 | owarn << "delete scan dialog" << oendl; |
159 | delete localDevice; | 159 | delete localDevice; |
160 | } | 160 | } |
161 | } | 161 | } |