r20853 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 12:46:50 UTC 2016


Author: jghali
Date: Mon Feb  1 12:46:50 2016
New Revision: 20853

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

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

Modified: trunk/Scribus/scribus/ui/marginpresetlayout.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20853&path=/trunk/Scribus/scribus/ui/marginpresetlayout.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/marginpresetlayout.cpp	(original)
+++ trunk/Scribus/scribus/ui/marginpresetlayout.cpp	Mon Feb  1 12:46:50 2016
@@ -15,6 +15,8 @@
 	addItem( tr("Golden Mean"), PresetLayout::goldencut);
 	addItem( tr("Nine Parts"), PresetLayout::nineparts);
 	setCurrentIndex(PresetLayout::none);
+
+	updateMargins = false;
 
 	this->setToolTip( "<qt>" + tr("When you have selected a Document Layout other than Single Page, you can select a predefined page layout here. 'None' leaves margins as is, Gutenberg sets margins classically. 'Magazine' sets all margins to the same value. Leading is Left/Inside value.") + "</qt>");
 }




More information about the scribus-commit mailing list