changeset 25509:e00aa6a75edd

Do not make floated widgets a Qt::Window to conserve title bar (bug #54078) * octave-dock-widget.cc (octave_dock_widget::make_window): Remove the flag Qt::Window from the setParent(0,...) command.
author Daniel J Sebald <daniel.sebald@ieee.org>
date Mon, 25 Jun 2018 16:14:52 -0500
parents 3edae6ba1fcd
children 2710440ea566
files libgui/src/octave-dock-widget.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/octave-dock-widget.cc	Tue Jun 26 21:39:38 2018 +0200
+++ b/libgui/src/octave-dock-widget.cc	Mon Jun 25 16:14:52 2018 -0500
@@ -260,7 +260,7 @@
     if (isFloating ())
       setFloating (false);
 // Remove after thorough testing 3/20/18    m_parent->removeDockWidget (this);
-    setParent (0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint |
+    setParent (0, Qt::CustomizeWindowHint | Qt::WindowTitleHint |
                Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint);
 
     // restore the last geometry when floating