r20948 by craig -

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 9 16:30:15 UTC 2016


Author: craig
Date: Tue Feb  9 16:30:15 2016
New Revision: 20948

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20948
Log:
coverity

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

Modified: trunk/Scribus/scribus/ui/curvewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20948&path=/trunk/Scribus/scribus/ui/curvewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/curvewidget.cpp	(original)
+++ trunk/Scribus/scribus/ui/curvewidget.cpp	Tue Feb  9 16:30:15 2016
@@ -34,12 +34,15 @@
 
 
 
-KCurve::KCurve(QWidget *parent) : QWidget(parent)
-{
-	m_grab_point     = FPoint();
-	m_dragging = false;
-	m_linear = false;
-	m_pos = 0;
+KCurve::KCurve(QWidget *parent) : QWidget(parent),
+	m_leftmost(0.0),
+	m_rightmost(0.0),
+	m_pos(0),
+	m_dragging(false),
+	m_linear(false),
+	m_grabOffsetX(0.0),
+	m_grabOffsetY(0.0)
+{
 	setMouseTracking(true);
 	setMinimumSize(150, 150);
 	m_points.resize(0);




More information about the scribus-commit mailing list