[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui token.cpp,1.39,1.40
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantikui In directory office:/tmp/cvs-serv14011/libatlantikui Modified Files: token.cpp Log Message: better safe than sorry Index: token.cpp =================================================================== RCS file: /home/kde/kdegames/atlantik/libatlantikui/token.cpp,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- token.cpp 23 Jun 2003 03:05:25 -0000 1.39 +++ token.cpp 23 Jun 2003 03:10:26 -0000 1.40 @@ -144,7 +144,7 @@ painter.setPen(Qt::white); painter.setFont(QFont(KGlobalSettings::generalFont().family(), KGlobalSettings::generalFont().pointSize(), QFont::DemiBold)); - painter.drawText(1, height()-1, m_player->name()); + painter.drawText(1, height()-1, (m_player ? m_player->name() : QString::null)); b_recreate = false; }