r20214 by craig - #13109: Fix crash in polygon properties or arc properties canvas edit modes

scribus-commit scribus-commit at lists.scribus.net
Fri Jun 26 22:55:38 UTC 2015


Author: craig
Date: Fri Jun 26 22:55:38 2015
New Revision: 20214

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20214
Log:
#13109: Fix crash in polygon properties or arc properties canvas edit modes

Modified:
    trunk/Scribus/scribus/canvasmode_editarc.cpp
    trunk/Scribus/scribus/canvasmode_editpolygon.cpp

Modified: trunk/Scribus/scribus/canvasmode_editarc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20214&path=/trunk/Scribus/scribus/canvasmode_editarc.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_editarc.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_editarc.cpp Fri Jun 26 22:55:38 2015
@@ -288,7 +288,7 @@
 {
 	disconnect(VectorDialog, SIGNAL(paletteShown(bool)), this, SLOT(endEditing(bool)));
 	VectorDialog->close();
-	delete VectorDialog;
+	VectorDialog->deleteLater();
 	m_view->setRedrawMarkerShown(false);
 	m_arcPoint = noPointDefined;
 	disconnect(m_doc, SIGNAL(docChanged()), this, SLOT(updateFromItem()));

Modified: trunk/Scribus/scribus/canvasmode_editpolygon.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20214&path=/trunk/Scribus/scribus/canvasmode_editpolygon.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_editpolygon.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_editpolygon.cpp Fri Jun 26 22:55:38 2015
@@ -222,7 +222,7 @@
 {
 	disconnect(VectorDialog, SIGNAL(paletteShown(bool)), this, SLOT(endEditing(bool)));
 	VectorDialog->close();
-	delete VectorDialog;
+	VectorDialog->deleteLater();
 	m_view->setRedrawMarkerShown(false);
 	m_polygonPoint = noPointDefined;
 	disconnect(m_doc, SIGNAL(docChanged()), this, SLOT(updateFromItem()));




More information about the scribus-commit mailing list