r20863 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 18:35:56 UTC 2016


Author: jghali
Date: Mon Feb  1 18:35:56 2016
New Revision: 20863

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20863
Log:
coverity #1350777: uninitialized scalar field

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

Modified: trunk/Scribus/scribus/ui/multipleduplicate.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20863&path=/trunk/Scribus/scribus/ui/multipleduplicate.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/multipleduplicate.cpp	(original)
+++ trunk/Scribus/scribus/ui/multipleduplicate.cpp	Mon Feb  1 18:35:56 2016
@@ -20,6 +20,9 @@
 MultipleDuplicate::MultipleDuplicate( int unitIndex, QWidget* parent) : QDialog(parent), m_unitIndex(unitIndex)
 {
 	setupUi(this);
+
+	m_unitRatio = unitGetRatioFromIndex(m_unitIndex);
+
 	//set tab order
 	QWidget::setTabOrder(createGapRadioButton, horizShiftSpinBox);
 	QWidget::setTabOrder(horizShiftSpinBox, vertShiftSpinBox);




More information about the scribus-commit mailing list