Remove setting removed variable "moved" in plasma/widgets/scrollwidget.cpp

This unused-but-set variable declaration was removed in ba583b5d4da9e3.
This commit is contained in:
Jon Severinsson 2012-10-26 08:37:53 +02:00
parent d1140aca7d
commit fbd4466d93

View File

@ -692,7 +692,6 @@ public:
} }
if (!rejectY && stealEvent) { if (!rejectY && stealEvent) {
setWidgetY(qRound(newY)); setWidgetY(qRound(newY));
moved = true;
} }
if (qAbs(dy) > QApplication::startDragDistance()) if (qAbs(dy) > QApplication::startDragDistance())
stealEvent = true; stealEvent = true;
@ -719,7 +718,6 @@ public:
} }
if (!rejectX && stealEvent) { if (!rejectX && stealEvent) {
setWidgetX(qRound(newX)); setWidgetX(qRound(newX));
moved = true;
} }
if (qAbs(dx) > QApplication::startDragDistance()) if (qAbs(dx) > QApplication::startDragDistance())