android gui tweaks and bugfix for crash on windows/linux

This commit is contained in:
doitux
2012-05-28 18:45:02 +02:00
parent db359fe80b
commit 4f9a7941de
5 changed files with 26 additions and 8 deletions
+11
View File
@@ -303,6 +303,17 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
playerTipLabelArray[8] = label_playerTip8;
playerTipLabelArray[9] = label_playerTip9;
#ifdef GUI_800x480
int j;
for (i=0; i<MAX_NUMBER_OF_PLAYERS; ++i) {
for (j=1; j<=5; ++j) {
playerStarsArray[j][i]->hide();
}
playerTipLabelArray[i]->hide();
}
#endif
// playerNameLabelArray init
playerNameLabelArray[0] = label_PlayerName0;
playerNameLabelArray[1] = label_PlayerName1;