Skip to content

Commit

Permalink
libtracker.so: fixed parenthesis warning on not operator...
Browse files Browse the repository at this point in the history
* "logical not is only applied to the left hand side of comparison"
* found with GCC6
  • Loading branch information
korli committed Jul 25, 2015
1 parent b2a0b63 commit d0017f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kits/tracker/SettingsViews.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ DesktopSettingsView::MessageReceived(BMessage* message)
{
// Turn on and off related settings:
fMountVolumesOntoDesktopRadioButton->SetValue(
!fShowDisksIconRadioButton->Value() == 1);
!(fShowDisksIconRadioButton->Value() == 1));
fMountSharedVolumesOntoDesktopCheckBox->SetEnabled(
fMountVolumesOntoDesktopRadioButton->Value() == 1);

Expand Down Expand Up @@ -267,7 +267,7 @@ DesktopSettingsView::MessageReceived(BMessage* message)
{
// Turn on and off related settings:
fShowDisksIconRadioButton->SetValue(
!fMountVolumesOntoDesktopRadioButton->Value() == 1);
!(fMountVolumesOntoDesktopRadioButton->Value() == 1));
fMountSharedVolumesOntoDesktopCheckBox->SetEnabled(
fMountVolumesOntoDesktopRadioButton->Value() == 1);

Expand Down

0 comments on commit d0017f3

Please sign in to comment.