r20778 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 15:39:22 UTC 2016


Author: jghali
Date: Sat Jan 30 15:39:22 2016
New Revision: 20778

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

Modified:
    trunk/Scribus/scribus/ui/colorlistbox.h

Modified: trunk/Scribus/scribus/ui/colorlistbox.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20778&path=/trunk/Scribus/scribus/ui/colorlistbox.h
==============================================================================
--- trunk/Scribus/scribus/ui/colorlistbox.h	(original)
+++ trunk/Scribus/scribus/ui/colorlistbox.h	Sat Jan 30 15:39:22 2016
@@ -35,9 +35,9 @@
 
 class ColorPixmapItem : public QListWidgetItem
 {
-	enum {
+	enum usrType {
 		ColorPixmapUserType = UserType + 1
-	} usrtyp;
+	};
 public:	
 	ColorPixmapItem( const ScColor& col, ScribusDoc* doc, const QString colName) : QListWidgetItem(NULL, ColorPixmapUserType) { 
 		setText(colName);




More information about the scribus-commit mailing list