[qet] [1913] Removed the double frame border caused by the view-in-tabs imbrication.

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


Revision: 1913
Author:   xavier
Date:     2012-07-15 15:01:08 +0200 (Sun, 15 Jul 2012)
Log Message:
-----------
Removed the double frame border caused by the view-in-tabs imbrication.

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

Modified: trunk/sources/projectview.cpp
===================================================================
--- trunk/sources/projectview.cpp	2012-07-15 13:01:04 UTC (rev 1912)
+++ trunk/sources/projectview.cpp	2012-07-15 13:01:08 UTC (rev 1913)
@@ -336,6 +336,7 @@
 	
 	// ajoute un nouvel onglet pour le nouveau schema
 	tabs_ -> addTab(diagram, QET::Icons::Diagram, diagram -> title());
+	diagram -> setFrameStyle(QFrame::Plain | QFrame::NoFrame);
 	diagrams_ << diagram;
 	rebuildDiagramsMap();
 	connect(diagram, SIGNAL(titleChanged(DiagramView *, const QString &)), this, SLOT(updateTabTitle(DiagramView *, const QString &)));


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