Commit 5a11795d authored by Halla Rempt's avatar Halla Rempt
Browse files

Fix uninitialized scalar variable

parent 0f1c464a
......@@ -160,7 +160,7 @@ void KisGradientSlider::resizeEvent(QResizeEvent *)
void KisGradientSlider::mousePressEvent(QMouseEvent *e)
eCursor closest_cursor;
eCursor closest_cursor = KisGradientSlider::None;
int distance;
if (e->button() != Qt::LeftButton)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment