r25110 by craig - #16785: Apply patch to remove include text option for 2D barcodes, goto_coder
scribus-commit
scribus-commit at lists.scribus.net
Fri Jun 17 21:12:00 UTC 2022
Author: craig
Date: Fri Jun 17 21:12:00 2022
New Revision: 25110
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=25110
Log:
#16785: Apply patch to remove include text option for 2D barcodes, goto_coder
Modified:
branches/Version15x/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
Modified: branches/Version15x/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25110&path=/branches/Version15x/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp
==============================================================================
--- branches/Version15x/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp (original)
+++ branches/Version15x/Scribus/scribus/plugins/barcodegenerator/barcodegenerator.cpp Fri Jun 17 21:12:00 2022
@@ -153,9 +153,9 @@
// Which options checkboxes are enabled for each encoder
- QStringList includetextAvail = encoderlist;
- foreach (const QString& enc, includetextAvail)
- resincludetextAvail[enc] = true;
+ // Check whether `includetext` option is available for each encoder
+ for(const QString &enc : encoderlist)
+ resincludetextAvail[enc] = resexops[enc].contains("includetext");
QStringList guardwhitespaceAvail;
guardwhitespaceAvail << "ean13" << "ean8" << "isbn" << "ismn" << "issn" << "ean13composite" << "ean8composite";
More information about the scribus-commit
mailing list