Mercurial > hg > octave-lyh
diff libgui/src/octave-dock-widget.h @ 16809:84505f200e05
fix checked state of window menu entries at startup (bug #39322)
* file-editor-interface.h: remove connet_visibility_changed
* file-editor.cc/.h: remove connect_visibility_changed and slot
handle_visibility which are aleady implemented in octave-dock-widget
* octave-dock-widget.cc(connect_visibility_changed): moved here from
octave-dock-widget.h, emit signal active_change for initializing the
entries of the window menu
* octave-dock-widget.h: move connect_visibility_changed to *.cc,
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 22 Jun 2013 20:43:29 +0200 |
parents | d749c9b588e5 |
children | caf3d2a45da0 |
line wrap: on
line diff
--- a/libgui/src/octave-dock-widget.h +++ b/libgui/src/octave-dock-widget.h @@ -38,12 +38,7 @@ octave_dock_widget (QWidget *p = 0); virtual ~octave_dock_widget (); - virtual void connect_visibility_changed (void) - { - connect (this, SIGNAL (visibilityChanged (bool)), - this, SLOT (handle_visibility (bool))); - } - + virtual void connect_visibility_changed (void); void make_window (bool visible); void make_widget (bool visible); void set_title (const QString&);