Diffstat (limited to 'noncore/settings/networksettings2/editconnection.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/editconnection.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/editconnection.cpp b/noncore/settings/networksettings2/editconnection.cpp index 0c3ead6..717d9e9 100644 --- a/noncore/settings/networksettings2/editconnection.cpp +++ b/noncore/settings/networksettings2/editconnection.cpp | |||
@@ -146,25 +146,24 @@ NodeCollection * EditConnection::getTmpCollection( void ) { | |||
146 | // has radio items as children -> | 146 | // has radio items as children -> |
147 | // find selected one | 147 | // find selected one |
148 | it = it->firstChild(); | 148 | it = it->firstChild(); |
149 | while( it ) { | 149 | while( it ) { |
150 | if( ((QCheckListItem *)it)->isOn() ) { | 150 | if( ((QCheckListItem *)it)->isOn() ) { |
151 | // this radio is selected -> go deeper | 151 | // this radio is selected -> go deeper |
152 | break; | 152 | break; |
153 | } | 153 | } |
154 | it = it->nextSibling(); | 154 | it = it->nextSibling(); |
155 | } | 155 | } |
156 | 156 | ||
157 | if( ! it ) { | 157 | if( ! it ) { |
158 | owarn << "Radio not selected" << oendl; | ||
159 | TmpIsValid = 0; | 158 | TmpIsValid = 0; |
160 | return 0; | 159 | return 0; |
161 | } | 160 | } |
162 | 161 | ||
163 | // it now contains selected radio | 162 | // it now contains selected radio |
164 | NN = (*Mapping)[it]; | 163 | NN = (*Mapping)[it]; |
165 | } | 164 | } |
166 | 165 | ||
167 | // NN here contains the netnode of the | 166 | // NN here contains the netnode of the |
168 | // current item -> this node needs to | 167 | // current item -> this node needs to |
169 | // be stored in the collection | 168 | // be stored in the collection |
170 | if( NNI == 0 || | 169 | if( NNI == 0 || |