Resize columns of "other swift versions" to percentage

This commit is contained in:
Klaus Basan
2018-12-26 01:06:07 +01:00
committed by Mat Sutcliffe
parent 7baf5f238e
commit 48b18c7acd
10 changed files with 47 additions and 19 deletions

View File

@@ -16,6 +16,7 @@
#include "blackmisc/directoryutils.h"
#include <QSet>
#include <QPointer>
#include <QFileInfo>
#include <QMessageBox>
@@ -182,15 +183,15 @@ namespace BlackGui
ui->comp_SimulatorSelector->setValue(setSims);
}
void CCopyModelsFromOtherSwiftVersionsComponent::reloadOtherVersions()
void CCopyModelsFromOtherSwiftVersionsComponent::reloadOtherVersions(int deferMs)
{
ui->comp_OtherSwiftVersions->reloadOtherVersions();
ui->comp_OtherSwiftVersions->reloadOtherVersionsDeferred(deferMs);
}
void CCopyModelsFromOtherSwiftVersionsWizardPage::initializePage()
{
// force reload as the other version could be changed
if (m_copyModels) { m_copyModels->reloadOtherVersions(); }
if (m_copyModels) { m_copyModels->reloadOtherVersions(1000); }
}
bool CCopyModelsFromOtherSwiftVersionsWizardPage::validatePage()