summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/noatunmadness/madness.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/noatunmadness/madness.cpp')
-rw-r--r--noatun-plugins/noatunmadness/madness.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noatun-plugins/noatunmadness/madness.cpp b/noatun-plugins/noatunmadness/madness.cpp
index 6936889..32014f6 100644
--- a/noatun-plugins/noatunmadness/madness.cpp
+++ b/noatun-plugins/noatunmadness/madness.cpp
@@ -99,8 +99,8 @@ void Madness::scopeEvent(float *d, int size)
int y=area.y();
- int dx=(int)((delta*lightness*(area.height()/10)/100))*(KApplication::random()%2 ? -1 : 1);
- int dy=(int)((delta*lightness*(area.width()/10)/100))*(KApplication::random()%2 ? -1 : 1);
+ int dx=(int)((delta*lightness*(area.height()/10)/100))*(TDEApplication::random()%2 ? -1 : 1);
+ int dy=(int)((delta*lightness*(area.width()/10)/100))*(TDEApplication::random()%2 ? -1 : 1);
if (dx < 0 && (x - dx < mWorkArea.left()))
dx = -dx;