QTfrontend/gamecfgwidget.cpp
changeset 87 ff213e443336
parent 85 44d9045b26ff
child 123 6987769ced3d
equal deleted inserted replaced
86:664b536a1c27 87:ff213e443336
    41 	setPalette(newPalette);
    41 	setPalette(newPalette);
    42 	CB_mode_Forts = new QCheckBox(this);
    42 	CB_mode_Forts = new QCheckBox(this);
    43 	CB_mode_Forts->setText("Forts mode");
    43 	CB_mode_Forts->setText("Forts mode");
    44 }
    44 }
    45 
    45 
    46 void GameCFGWidget::resizeEvent(QResizeEvent * event)
       
    47 {
       
    48 	resize(event->size());
       
    49 }
       
    50 
       
    51 quint32 GameCFGWidget::getGameFlags()
    46 quint32 GameCFGWidget::getGameFlags()
    52 {
    47 {
    53 	quint32 result = 0;
    48 	quint32 result = 0;
    54 	if (CB_mode_Forts->isChecked())
    49 	if (CB_mode_Forts->isChecked())
    55 		result |= 1;
    50 		result |= 1;