This commit is contained in:
doitux
2007-11-01 00:47:25 +00:00
parent a3cb6c25e3
commit 770cddf430
+1 -1
View File
@@ -1218,7 +1218,7 @@ void mainWindowImpl::setPlayerAvatar(int myID, QString myAvatar) {
if(QFile::QFile(myAvatar).exists()) {
playerAvatarLabelArray[tmpPlayer->getMyID()]->setPixmap(myAvatar);
tmpPlayer->setMyAvatar(myAvatar);
tmpPlayer->setMyAvatar(myAvatar.toUtf8().constData());
}
else {
playerAvatarLabelArray[tmpPlayer->getMyID()]->setPixmap(QPixmap(myAppDataPath +"gfx/gui/table/default/genereticAvatar.png"));