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:
@@ -234,7 +234,7 @@ DesktopSettingsView::MessageReceived(BMessage* message)
|
|||||||
{
|
{
|
||||||
// Turn on and off related settings:
|
// Turn on and off related settings:
|
||||||
fMountVolumesOntoDesktopRadioButton->SetValue(
|
fMountVolumesOntoDesktopRadioButton->SetValue(
|
||||||
!fShowDisksIconRadioButton->Value() == 1);
|
!(fShowDisksIconRadioButton->Value() == 1));
|
||||||
fMountSharedVolumesOntoDesktopCheckBox->SetEnabled(
|
fMountSharedVolumesOntoDesktopCheckBox->SetEnabled(
|
||||||
fMountVolumesOntoDesktopRadioButton->Value() == 1);
|
fMountVolumesOntoDesktopRadioButton->Value() == 1);
|
||||||
|
|
||||||
@@ -267,7 +267,7 @@ DesktopSettingsView::MessageReceived(BMessage* message)
|
|||||||
{
|
{
|
||||||
// Turn on and off related settings:
|
// Turn on and off related settings:
|
||||||
fShowDisksIconRadioButton->SetValue(
|
fShowDisksIconRadioButton->SetValue(
|
||||||
!fMountVolumesOntoDesktopRadioButton->Value() == 1);
|
!(fMountVolumesOntoDesktopRadioButton->Value() == 1));
|
||||||
fMountSharedVolumesOntoDesktopCheckBox->SetEnabled(
|
fMountSharedVolumesOntoDesktopCheckBox->SetEnabled(
|
||||||
fMountVolumesOntoDesktopRadioButton->Value() == 1);
|
fMountVolumesOntoDesktopRadioButton->Value() == 1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user