reorgranize debug_mode
This commit is contained in:
@@ -113,12 +113,12 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
||||
tabsDiag = new QDialog(this);
|
||||
tabs.setupUi(tabsDiag);
|
||||
textLabel_handLabel->hide();
|
||||
#ifdef ANDROID
|
||||
tabsDiag->setStyleSheet("QObject { font: 26px; } QDialog { background-image: url(:/android/android-data/gfx/gui/table/default_800x480/table_dark.png); background-position: bottom center; background-origin: content; background-repeat: no-repeat;}");
|
||||
this->setWindowState(Qt::WindowFullScreen);
|
||||
#else
|
||||
tabs.pushButton_settings->hide();
|
||||
#endif
|
||||
#ifdef ANDROID
|
||||
tabsDiag->setStyleSheet("QObject { font: 26px; } QDialog { background-image: url(:/android/android-data/gfx/gui/table/default_800x480/table_dark.png); background-position: bottom center; background-origin: content; background-repeat: no-repeat;}");
|
||||
this->setWindowState(Qt::WindowFullScreen);
|
||||
#else
|
||||
tabs.pushButton_settings->hide();
|
||||
#endif
|
||||
tabs.label_chance->setMyStyle(myGameTableStyle);
|
||||
#else
|
||||
label_chance->setMyStyle(myGameTableStyle);
|
||||
@@ -1443,7 +1443,7 @@ void gameTableImpl::dealHoleCards()
|
||||
(*it_c)->getMyCards(tempCardsIntArray);
|
||||
for(j=0; j<2; j++) {
|
||||
if((*it_c)->getMyActiveStatus()) {
|
||||
if (( (*it_c)->getMyID() == 0)/* || DEBUG_MODE*/) {
|
||||
if (( (*it_c)->getMyID() == 0) || DEBUG_MODE) {
|
||||
tempCardsPixmapArray[j].load(myCardDeckStyle->getCurrentDir()+QString::number(tempCardsIntArray[j], 10)+".png");
|
||||
if(myConfig->readConfigInt("AntiPeekMode")) {
|
||||
holeCardsArray[(*it_c)->getMyID()][j]->setPixmap(flipside, true);
|
||||
|
||||
Reference in New Issue
Block a user