r22947 by jghali - Cosmetic change

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 13 15:36:09 UTC 2019


Author: jghali
Date: Sat Apr 13 15:36:09 2019
New Revision: 22947

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22947
Log:
Cosmetic change

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/cmdstyle.cpp

Modified: trunk/Scribus/scribus/plugins/scriptplugin/cmdstyle.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22947&path=/trunk/Scribus/scribus/plugins/scriptplugin/cmdstyle.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/cmdstyle.cpp	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/cmdstyle.cpp	Sat Apr 13 15:36:09 2019
@@ -164,7 +164,7 @@
 		return nullptr;
 	}
 
-	QStringList featuresList = QString(features).split(QString(","));
+	QStringList featuresList = QString(features).split(',', QString::SkipEmptyParts);
 
 	CharStyle tmpCharStyle;
 	tmpCharStyle.setName(name);




More information about the scribus-commit mailing list