[qet] qet/qet: [4745] Fix crash

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


Revision: 4745
Author:   blacksun
Date:     2016-10-17 14:44:56 +0200 (Mon, 17 Oct 2016)
Log Message:
-----------
Fix crash

Modified Paths:
--------------
    trunk/sources/ui/diagrampropertieseditordockwidget.cpp

Modified: trunk/sources/ui/diagrampropertieseditordockwidget.cpp
===================================================================
--- trunk/sources/ui/diagrampropertieseditordockwidget.cpp	2016-10-17 12:17:45 UTC (rev 4744)
+++ trunk/sources/ui/diagrampropertieseditordockwidget.cpp	2016-10-17 12:44:56 UTC (rev 4745)
@@ -56,7 +56,7 @@
 	if (diagram)
 	{
 		m_diagram = diagram;
-		connect(m_diagram, SIGNAL(selectionChanged()), this, SLOT(selectionChanged()));
+		connect(m_diagram, SIGNAL(selectionChanged()), this, SLOT(selectionChanged()), Qt::QueuedConnection);
 		connect(m_diagram, SIGNAL(destroyed()),        this, SLOT(diagramWasDeleted()));
 		selectionChanged();
 	}


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