equal
deleted
inserted
replaced
47 mainLayout.setMargin(0); |
47 mainLayout.setMargin(0); |
48 setMinimumHeight(310); |
48 setMinimumHeight(310); |
49 setMaximumHeight(447); |
49 setMaximumHeight(447); |
50 setMinimumWidth(470); |
50 setMinimumWidth(470); |
51 setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
51 setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
|
52 m_master = true; |
52 |
53 |
53 // Easy containers for the map/game options in either stacked or tabbed mode |
54 // Easy containers for the map/game options in either stacked or tabbed mode |
54 |
55 |
55 mapContainerFree = new QWidget(); |
56 mapContainerFree = new QWidget(); |
56 mapContainerTabbed = new QWidget(); |
57 mapContainerTabbed = new QWidget(); |
676 return m_master; |
677 return m_master; |
677 } |
678 } |
678 |
679 |
679 void GameCFGWidget::setMaster(bool master) |
680 void GameCFGWidget::setMaster(bool master) |
680 { |
681 { |
|
682 if (master == m_master) return; |
681 m_master = master; |
683 m_master = master; |
682 |
684 |
683 pMapContainer->setMaster(master); |
685 pMapContainer->setMaster(master); |
684 |
686 |
685 foreach (QWidget *widget, m_childWidgets) |
687 foreach (QWidget *widget, m_childWidgets) |