diff options
Diffstat (limited to 'kreversi/highscores.cpp')
-rw-r--r-- | kreversi/highscores.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kreversi/highscores.cpp b/kreversi/highscores.cpp index 1da40d26..2c089975 100644 --- a/kreversi/highscores.cpp +++ b/kreversi/highscores.cpp @@ -61,7 +61,7 @@ TQString ExtManager::gameTypeLabel(uint gameType, LabelType type) const case WW: break; } - return TQString::null; + return TQString(); } @@ -79,7 +79,7 @@ void ExtManager::convertLegacy(uint gameType) for (uint i = 1; i <= 10; i++) { TQString key = "Pos" + TQString::number(i); - TQString name = cg.config()->readEntry(key + "Name", TQString::null); + TQString name = cg.config()->readEntry(key + "Name", TQString()); if ( name.isEmpty() ) name = i18n("anonymous"); @@ -88,7 +88,7 @@ void ExtManager::convertLegacy(uint gameType) if ( score==0 ) continue; - TQString sdate = cg.config()->readEntry(key + "Date", TQString::null); + TQString sdate = cg.config()->readEntry(key + "Date", TQString()); TQDateTime date = TQDateTime::fromString(sdate); Score s(Won); |