changeset 27572:6f9544b3a72b

Fix compiler warning about errant semicolon in cset 775412096ae4. * files-dock-widget.cc (popdownmenu_search_dir): Remove ';' at end of if conditional block which rendered the test useless.
author Rik <rik@octave.org>
date Sun, 27 Oct 2019 10:59:53 -0700
parents 24618a510749
children 0cedd1e23c1f
files libgui/src/files-dock-widget.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/files-dock-widget.cc	Sun Oct 27 10:31:33 2019 -0700
+++ b/libgui/src/files-dock-widget.cc	Sun Oct 27 10:59:53 2019 -0700
@@ -916,7 +916,7 @@
     int opts = QFileDialog::ShowDirsOnly;
     if (! resource_manager::get_settings ()->value (
                                   global_use_native_dialogs.key,
-                                  global_use_native_dialogs.def).toBool ());
+                                  global_use_native_dialogs.def).toBool ())
       opts |= QFileDialog::DontUseNativeDialog;
 
     QString dir = QFileDialog::getExistingDirectory (this,