Fix Explorer integration: Hide option on non-Windows

Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
Michael Schuster 2020-03-01 04:03:29 +01:00
parent f1dd312b2e
commit 40767f7ae0
No known key found for this signature in database
GPG key ID: 00819E3BF4177B28

View file

@ -100,6 +100,9 @@ GeneralSettings::GeneralSettings(QWidget *parent)
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows10) if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows10)
#endif #endif
_ui->showInExplorerNavigationPaneCheckBox->setVisible(false); _ui->showInExplorerNavigationPaneCheckBox->setVisible(false);
#else
// Hide on non-Windows
_ui->showInExplorerNavigationPaneCheckBox->setVisible(false);
#endif #endif
/* Set the left contents margin of the layout to zero to make the checkboxes /* Set the left contents margin of the layout to zero to make the checkboxes