Changeset 47559 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
- Timestamp:
- Aug 6, 2013 1:58:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
r47191 r47559 275 275 m_pInterfacesTree->setCurrentItem(m_pInterfacesTree->topLevelItem(0)); 276 276 sltUpdateCurrentItem(); 277 278 /* Revalidate if possible: */ 279 if (m_pValidator) 280 m_pValidator->revalidate(); 277 281 } 278 282 … … 368 372 } 369 373 370 /* Validation assignments: */ 374 #ifdef VBOX_WITH_NEW_SETTINGS_VALIDATOR 375 void UIGlobalSettingsNetwork::setValidator(UIPageValidator *pValidator) 376 #else /* VBOX_WITH_NEW_SETTINGS_VALIDATOR */ 371 377 void UIGlobalSettingsNetwork::setValidator(QIWidgetValidator *pValidator) 372 { 378 #endif /* !VBOX_WITH_NEW_SETTINGS_VALIDATOR */ 379 { 380 /* Configure validation: */ 373 381 m_pValidator = pValidator; 374 382 } … … 499 507 pItem->updateInfo(); 500 508 sltUpdateCurrentItem(); 501 m_pValidator->revalidate();502 509 m_fChanged = true; 510 511 /* Revalidate if possible: */ 512 if (m_pValidator) 513 m_pValidator->revalidate(); 503 514 } 504 515 }
Note:
See TracChangeset
for help on using the changeset viewer.