summaryrefslogtreecommitdiffstats
path: root/ksnake/game.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:31:10 -0600
committerSlávek Banko <[email protected]>2012-06-04 01:10:52 +0200
commit9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (patch)
tree668cc8f756c0cac76b39b63bc1f09115015a10a5 /ksnake/game.cpp
parent7cfcd74800487ecb6246597fdc559ca8baf2c4da (diff)
downloadtdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.tar.gz
tdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e2b76239f354a9eead0b4e37d86d390ec57ffa9)
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();