summaryrefslogtreecommitdiff
path: root/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp')
-rw-r--r--deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp b/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp
deleted file mode 100644
index 108d250c5a97..000000000000
--- a/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
---- wolflabel.cpp.orig 2010-01-13 21:33:08 UTC
-+++ wolflabel.cpp
-@@ -24,6 +24,7 @@
- #include <QtGui/QGraphicsItemAnimation>
- #include <QtGui/QGraphicsSceneResizeEvent>
- #include <QtGui/QLabel>
-+#include <QtCore/qmath.h>
-
- #include <KIO/Job>
- #include <KIO/NetAccess>
-@@ -195,7 +196,7 @@ void WolfLabel::paint(QPainter *painter,
- m_animation->setPropertyName("xOffset");
- m_animation->setTargetObject(this);
- }
-- m_animation->setDuration((2 * abs(x) + SPACING) * 150);
-+ m_animation->setDuration((2 * qFabs(x) + SPACING) * 150);
- m_animation->setNewStartValue(x - SPACING);
- m_animation->setNewEndValue(SPACING);
- if (m_animation->state() != QAbstractAnimation::Running) {