[qet] [1914] Got rid of the default "system menu" added by Qt on MDI subwindows ( tabs or windows).

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 1914
Author:   xavier
Date:     2012-07-15 15:17:32 +0200 (Sun, 15 Jul 2012)
Log Message:
-----------
Got rid of the default "system menu" added by Qt on MDI subwindows (tabs or windows).

Modified Paths:
--------------
    trunk/sources/qetdiagrameditor.cpp

Modified: trunk/sources/qetdiagrameditor.cpp
===================================================================
--- trunk/sources/qetdiagrameditor.cpp	2012-07-15 13:01:08 UTC (rev 1913)
+++ trunk/sources/qetdiagrameditor.cpp	2012-07-15 13:17:32 UTC (rev 1914)
@@ -1163,6 +1163,7 @@
 	// ajoute la fenetre
 	QMdiSubWindow *sub_window = workspace.addSubWindow(project_view);
 	sub_window -> setWindowIcon(project_view -> windowIcon());
+	sub_window -> systemMenu() -> clear();
 	
 	// lie les schemas du projet a l'editeur :
 	// quand on change de schemas a l'interieur d'un projet, on met a jour les menus


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/