r23726 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Sun May 10 12:29:05 UTC 2020


Author: jghali
Date: Sun May 10 12:29:05 2020
New Revision: 23726

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23726
Log:
Code style fixes

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=23726&path=/trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp	(original)
+++ trunk/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp	Sun May 10 12:29:05 2020
@@ -331,7 +331,7 @@
 {
 	QString enc=map[ui.bcCombo->currentText()].command;
 
-	ui.formatLabel->setText(resvlbl.contains(enc) ? resvlbl[enc]+":" : "Version:");
+	ui.formatLabel->setText(resvlbl.contains(enc) ? resvlbl[enc] + ":" : "Version:");
 	ui.formatCombo->blockSignals(true);
 	ui.formatCombo->clear();
 	ui.formatCombo->addItem("Auto");
@@ -760,10 +760,10 @@
 	QString coloropts("barcolor=%1 showbackground backgroundcolor=%2 textcolor=%3");
 	coloropts = coloropts.arg(lnColor.name().replace('#', ""), bgColor.name().replace('#', ""), txtColor.name().replace('#', ""));
 
-	QString opts=ui.optionsEdit->text()+" "+coloropts;
+	QString opts=ui.optionsEdit->text() + " " + coloropts;
 
 	// Assemble PS from encoder and requirement bodies
-	QString psCommand="%!PS-Adobe-2.0 EPSF-2.0\n";
+	QString psCommand = "%!PS-Adobe-2.0 EPSF-2.0\n";
 	QString req;
 	QString enc = map[ui.bcCombo->currentText()].command;
 	foreach (req, resreqs[enc].split(" "))




More information about the scribus-commit mailing list