summaryrefslogtreecommitdiffstats
path: root/libtdegames/kcarddialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdegames/kcarddialog.cpp')
-rw-r--r--libtdegames/kcarddialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtdegames/kcarddialog.cpp b/libtdegames/kcarddialog.cpp
index 542fb5f8..937eb26b 100644
--- a/libtdegames/kcarddialog.cpp
+++ b/libtdegames/kcarddialog.cpp
@@ -579,7 +579,7 @@ TQString KCardDialog::getRandomDeck()
if (list.isEmpty())
return TQString();
- int d = KApplication::random() % list.count();
+ int d = TDEApplication::random() % list.count();
return getDeckName(*list.at(d));
}
@@ -591,7 +591,7 @@ TQString KCardDialog::getRandomCardDir()
if (list.isEmpty())
return TQString();
- int d = KApplication::random() % list.count();
+ int d = TDEApplication::random() % list.count();
TQString entry = *list.at(d);
return entry.left(entry.length() - strlen("index.desktop"));
}