[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui token.cpp,1.30.4.2,1.30.4.3
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv13979/libatlantikui
Modified Files:
Tag: KDE_3_1_BRANCH
token.cpp
Log Message:
better safe than sorry
Index: token.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/token.cpp,v
retrieving revision 1.30.4.2
retrieving revision 1.30.4.3
diff -u -d -r1.30.4.2 -r1.30.4.3
--- token.cpp 31 Jan 2003 06:24:39 -0000 1.30.4.2
+++ token.cpp 23 Jun 2003 03:09:47 -0000 1.30.4.3
@@ -87,7 +87,7 @@
painter.setPen(Qt::black);
painter.setFont(QFont(KGlobalSettings::generalFont().family(), KGlobalSettings::generalFont().pointSize(), QFont::Bold));
- painter.drawText(2, height()-2, m_player->name());
+ painter.drawText(2, height()-2, (m_player ? m_player->name() : QString::null));
b_recreate = false;
}