summaryrefslogtreecommitdiffstats
path: root/kbarcode/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/commands.cpp')
-rw-r--r--kbarcode/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbarcode/commands.cpp b/kbarcode/commands.cpp
index ab980c1..77c8cc2 100644
--- a/kbarcode/commands.cpp
+++ b/kbarcode/commands.cpp
@@ -41,8 +41,8 @@ TQPoint getFreePos( TQCanvas* c )
return TQPoint( canvas->rect().x(), canvas->rect().y() );
// TODO: fix for positions on label
- int x = KApplication::random() % canvas->rect().width() - 20;
- int y = KApplication::random() % canvas->rect().height() - 20;
+ int x = TDEApplication::random() % canvas->rect().width() - 20;
+ int y = TDEApplication::random() % canvas->rect().height() - 20;
if( x > 0 && y > 0 )
return TQPoint( canvas->rect().x() + x, canvas->rect().y() + y );