From 841200fe6a7d90bb25459efebdaa63ee080ee365 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 4 Mar 2010 22:27:43 +0000 Subject: [PATCH] SVN_SILENT: more pedantry; i should stop reading through the code ;) svn path=/trunk/KDE/kdelibs/; revision=1099008 --- widgets/svgwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/svgwidget.cpp b/widgets/svgwidget.cpp index 7e936d792..72f381b4a 100644 --- a/widgets/svgwidget.cpp +++ b/widgets/svgwidget.cpp @@ -57,9 +57,9 @@ SvgWidget::~SvgWidget() void SvgWidget::mouseReleaseEvent ( QGraphicsSceneMouseEvent * event ) { - if (receivers(SIGNAL(clicked(Qt::MouseButton)))){ + if (receivers(SIGNAL(clicked(Qt::MouseButton)))) { emit clicked(event->button()); - }else{ + } else { event->accept(); } }