summaryrefslogtreecommitdiffstats
path: root/ksnake/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksnake/game.cpp')
-rw-r--r--ksnake/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksnake/game.cpp b/ksnake/game.cpp
index 29e8b5df..c1f66680 100644
--- a/ksnake/game.cpp
+++ b/ksnake/game.cpp
@@ -98,7 +98,7 @@ void Game::setTrys(int tries){
void Game::gameEnd(int score){
KScoreDialog di(KScoreDialog::Name | KScoreDialog::Score | KScoreDialog::Date, this);
KScoreDialog::FieldInfo scoreInfo;
- TQString date = TQDateTime::tqcurrentDateTime().toString();
+ TQString date = TQDateTime::currentDateTime().toString();
scoreInfo.insert(KScoreDialog::Date, date);
if (di.addScore(score, scoreInfo, true))
di.exec();