libtracker.so: fixed parenthesis warning on not operator...

* "logical not is only applied to the left hand side of comparison"
* found with GCC6
This commit is contained in:
Jérôme Duval
2015-07-25 23:42:13 +02:00
parent b2a0b6323e
commit d0017f3766
+2 -2
View File
@@ -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);
@@ -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);