src/config.cpp

changeset 32
91e9c2b710dd
parent 30
6b82f6a3ad53
child 36
b8fa9171be6e
equal deleted inserted replaced
31:dd382c61b16f 32:91e9c2b710dd
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();

mercurial