diff libgui/src/octave-dock-widget.h @ 16818:caf3d2a45da0

clean up some code for undocking and docking widgets * octave-dock-widget.cc(make_window,makewidget): remove boolean parameter, (change_floating): call make_widget and make_window without parameter * octave-dock-wodget.h(make_window,makewidget): remove boolean parameter * main-window.cc(set_window_layout): call make_widget and make_window without parameter
author Torsten <ttl@justmail.de>
date Sun, 23 Jun 2013 12:07:07 +0200
parents 84505f200e05
children 944ade6e7f66
line wrap: on
line diff
--- a/libgui/src/octave-dock-widget.h	Sun Jun 23 15:22:27 2013 +0800
+++ b/libgui/src/octave-dock-widget.h	Sun Jun 23 12:07:07 2013 +0200
@@ -39,8 +39,8 @@
   virtual ~octave_dock_widget ();
 
   virtual void connect_visibility_changed (void);
-  void make_window (bool visible);
-  void make_widget (bool visible);
+  void make_window (void);
+  void make_widget (void);
   void set_title (const QString&);
 
 signals: