Changeset 5700 in ntrip for trunk/BNC/src
- Timestamp:
- Jul 30, 2014, 10:44:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppwidgets.cpp
r5699 r5700 167 167 QListIterator<QWidget*> it(_widgets); 168 168 while (it.hasNext()) { 169 it.next()->setEnabled(!allDisabled); 169 QWidget* widget = it.next(); 170 widget->setEnabled(!allDisabled); 170 171 } 171 172 172 173 _dataSource->setEnabled(true); 174 175 it.toFront(); 176 while (it.hasNext()) { 177 QWidget* widget = it.next(); 178 if (widget->isEnabled()) { 179 widget->setPalette(paletteWhite); 180 } 181 else { 182 widget->setPalette(paletteGray); 183 } 184 } 173 185 }
Note:
See TracChangeset
for help on using the changeset viewer.