r20335 by jghali - fix minor code issue

scribus-commit scribus-commit at lists.scribus.net
Sun Aug 16 14:58:25 UTC 2015


Author: jghali
Date: Sun Aug 16 14:58:25 2015
New Revision: 20335

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20335
Log:
fix minor code issue

Modified:
    trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp

Modified: trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20335&path=/trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp (original)
+++ trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp Sun Aug 16 14:58:25 2015
@@ -753,7 +753,7 @@
 	gargs.append( psFile );
 	qApp->changeOverrideCursor(Qt::WaitCursor);
 	QFile::remove(realFile);
-	int gs = callGS(gargs,NULL,fileStdErr,fileStdOut);
+	int gs = callGS(gargs, QString(), fileStdErr, fileStdOut);
 	bool retval = gs==0 && QFile::exists(realFile);   // GS returns 0 for BWIPP-handled errors
 	qApp->changeOverrideCursor(Qt::ArrowCursor);
 //	qApp->restoreOverrideCursor();




More information about the scribus-commit mailing list