From atlantik-devel Mon Dec 08 05:25:02 2003 From: kde () office ! kde ! org Date: Mon, 08 Dec 2003 05:25:02 +0000 To: atlantik-devel Subject: [atlantik-cvs] CVS: kdegames/atlantik/client X-MARC-Message: https://marc.info/?l=atlantik-devel&m=107086173918967 Update of /home/kde/kdegames/atlantik/client In directory office:/tmp/cvs-serv3093/client Modified Files: Tag: atlantik_3_3_branch selectconfiguration_widget.cpp Log Message: game update can change master, recheck whether config checkbuttons should be enabled Index: selectconfiguration_widget.cpp =================================================================== RCS file: /home/kde/kdegames/atlantik/client/selectconfiguration_widget.cpp,v retrieving revision 1.39.2.3 retrieving revision 1.39.2.4 diff -u -d -r1.39.2.3 -r1.39.2.4 --- selectconfiguration_widget.cpp 7 Dec 2003 23:31:50 -0000 1.39.2.3 +++ selectconfiguration_widget.cpp 8 Dec 2003 05:24:59 -0000 1.39.2.4 @@ -211,6 +211,8 @@ void SelectConfiguration::gameChanged(Game *game) { - kdDebug() << "gameChanged" << endl; m_startButton->setEnabled( game->master() == m_atlanticCore->playerSelf() ); + + for (QMapIterator it = m_configBoxMap.begin() ; it != m_configBoxMap.end() ; ++it) + (*it)->setEnabled( it.key()->edit() && m_atlanticCore->selfIsMaster() ); } _______________________________________________ atlantik-cvs mailing list atlantik-cvs@kde.org https://mail.kde.org/mailman/listinfo/atlantik-cvs