Style fixes, no functional change indented
This commit is contained in:
parent
defcf2ebc4
commit
0eacc85bc2
@ -392,7 +392,7 @@ PreferencesWindow::_HandleChangedSettingsView()
|
||||
|
||||
BView* oldView = fSettingsContainerBox->ChildAt(0);
|
||||
|
||||
if (oldView)
|
||||
if (oldView != NULL)
|
||||
oldView->RemoveSelf();
|
||||
|
||||
SettingsItem* selectedItem =
|
||||
|
@ -279,14 +279,14 @@ TrackerSettingsWindow::_HandleChangedSettingsView()
|
||||
|
||||
BView* oldView = fSettingsContainerBox->ChildAt(0);
|
||||
|
||||
if (oldView)
|
||||
if (oldView != NULL)
|
||||
oldView->RemoveSelf();
|
||||
|
||||
SettingsItem* selectedItem =
|
||||
dynamic_cast<SettingsItem*>
|
||||
(fSettingsTypeListView->ItemAt(currentSelection));
|
||||
|
||||
if (selectedItem) {
|
||||
if (selectedItem != NULL) {
|
||||
fSettingsContainerBox->SetLabel(selectedItem->Text());
|
||||
|
||||
BView* view = selectedItem->View();
|
||||
|
Loading…
Reference in New Issue
Block a user