From d0017f376642742c180e2c3b6da1a155903acc51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 25 Jul 2015 16:26:29 +0200 Subject: [PATCH] libtracker.so: fixed parenthesis warning on not operator... * "logical not is only applied to the left hand side of comparison" * found with GCC6 --- src/kits/tracker/SettingsViews.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/tracker/SettingsViews.cpp b/src/kits/tracker/SettingsViews.cpp index 4b80b8c752..18be42255f 100644 --- a/src/kits/tracker/SettingsViews.cpp +++ b/src/kits/tracker/SettingsViews.cpp @@ -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);