Fix Explorer integration: Hide option on non-Windows
authorMichael Schuster <michael@schuster.ms>
Sun, 1 Mar 2020 03:03:29 +0000 (04:03 +0100)
committerMichael Schuster <michael@schuster.ms>
Sun, 1 Mar 2020 03:03:29 +0000 (04:03 +0100)
Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/generalsettings.cpp

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