r20785 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sat Jan 30 16:17:28 UTC 2016
Author: jghali
Date: Sat Jan 30 16:17:28 2016
New Revision: 20785
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20785
Log:
coverity #1350799, uninitialized scalar field
Modified:
trunk/Scribus/scribus/ui/viewtoolbar.cpp
Modified: trunk/Scribus/scribus/ui/viewtoolbar.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20785&path=/trunk/Scribus/scribus/ui/viewtoolbar.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/viewtoolbar.cpp (original)
+++ trunk/Scribus/scribus/ui/viewtoolbar.cpp Sat Jan 30 16:17:28 2016
@@ -45,6 +45,8 @@
visualMenu->setFont(fo);
visualMenu->setEnabled(false);
visualMenu->setSizeAdjustPolicy(QComboBox::AdjustToContents);
+
+ inPreview = visualMenu->isEnabled();
addWidget(previewQualitySwitcher);
addAction(parent->scrActions["viewToggleCMS"]);
More information about the scribus-commit
mailing list