diff libgui/src/set-path-dialog.h @ 29550:8dd0fca2a3d9

where possible, use default destructors in GUI classes In most cases, don't explicitly delete objects that have parents in the QObject class hierarchy as they will be deleted automatically when the parent object is deleted. Explicitly declare more destructors as "default". Files affected: dialog.cc, dialog.h, documentation-bookmarks.cc, documentation-bookmarks.h, documentation-dock-widget.cc, documentation-dock-widget.h, documentation.cc, documentation.h, m-editor/file-editor.cc, m-editor/file-editor.h, main-window.cc, main-window.h, set-path-dialog.cc, set-path-dialog.h, tab-bar.cc, tab-bar.h, terminal-dock-widget.cc, and terminal-dock-widget.h.
author John W. Eaton <jwe@octave.org>
date Thu, 22 Apr 2021 12:52:14 -0400
parents 0a5b15007766
children 02461b0ccc00
line wrap: on
line diff
--- a/libgui/src/set-path-dialog.h	Wed Apr 21 13:23:16 2021 -0400
+++ b/libgui/src/set-path-dialog.h	Thu Apr 22 12:52:14 2021 -0400
@@ -55,7 +55,7 @@
 
     set_path_dialog (QWidget *parent, base_qobject& oct_qobj);
 
-    virtual ~set_path_dialog (void);
+    virtual ~set_path_dialog (void) = default;
 
     void save_settings (void);