91 m_testLayout = new QFormLayout; |
91 m_testLayout = new QFormLayout; |
92 ui->zandronumVersions->setLayout (m_releaseLayout); |
92 ui->zandronumVersions->setLayout (m_releaseLayout); |
93 ui->betaVersions->setLayout (m_testLayout); |
93 ui->betaVersions->setLayout (m_testLayout); |
94 } else { |
94 } else { |
95 // re-init, clear the layouts |
95 // re-init, clear the layouts |
96 QLayoutItem* item; |
|
97 for (QWidget* w : m_binaryLayoutWidgets) |
96 for (QWidget* w : m_binaryLayoutWidgets) |
98 delete w; |
97 delete w; |
99 |
98 |
100 m_binaryLayoutWidgets.clear(); |
99 m_binaryLayoutWidgets.clear(); |
101 m_zanBinaries.clear(); |
100 m_zanBinaries.clear(); |