r21706 by jghali - cosmetic fix

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 7 14:05:56 UTC 2017


Author: jghali
Date: Sat Jan  7 14:05:56 2017
New Revision: 21706

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21706
Log:
cosmetic fix

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

Modified: trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21706&path=/trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertywidget_pareffect.cpp	Sat Jan  7 14:05:56 2017
@@ -273,7 +273,7 @@
 	dropCapLines->setValue(newPStyle.dropCapLines());
 	bulletStrEdit->setEditText(newPStyle.bulletStr());
 	numName = newPStyle.numName();
-	if (numName == "")
+	if (numName.isEmpty())
 		numName = "<local block>";
 	numComboBox->setCurrentIndex(numComboBox->findText(numName));
 	NumStruct * numS = m_doc->numerations.value(numName);




More information about the scribus-commit mailing list