r23475 by jghali - #16062: Selecting individual bullet character crashes Scribus

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 26 23:30:49 UTC 2020


Author: jghali
Date: Wed Feb 26 23:30:49 2020
New Revision: 23475

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23475
Log:
#16062: Selecting individual bullet character crashes Scribus

Modified:
    trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp
    trunk/Scribus/scribus/ui/smpstylewidget.cpp

Modified: trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23475&path=/trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp	Wed Feb 26 23:30:49 2020
@@ -635,7 +635,7 @@
 	disconnect(m_enhanced, SIGNAL(insertSpecialChars(const QVector<uint> &)), this, SLOT(insertSpecialChars(const QVector<uint> &)));
 	disconnect(m_enhanced, SIGNAL(paletteShown(bool)), bulletCharTableButton, SLOT(setChecked(bool)));
 	m_enhanced->close();
-	delete m_enhanced;
+	m_enhanced->deleteLater();
 	m_enhanced = nullptr;
 }
 

Modified: trunk/Scribus/scribus/ui/smpstylewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23475&path=/trunk/Scribus/scribus/ui/smpstylewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smpstylewidget.cpp	(original)
+++ trunk/Scribus/scribus/ui/smpstylewidget.cpp	Wed Feb 26 23:30:49 2020
@@ -1226,7 +1226,7 @@
 	disconnect(m_enhanced, SIGNAL(insertSpecialChars(const QVector<uint> &)), this, SLOT(insertSpecialChars(const QVector<uint> &)));
 	disconnect(m_enhanced, SIGNAL(paletteShown(bool)), bulletCharTableButton, SLOT(setChecked(bool)));
 	m_enhanced->close();
-	delete m_enhanced;
+	m_enhanced->deleteLater();
 	m_enhanced = nullptr;
 }
 




More information about the scribus-commit mailing list