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

@@ -53,9 +53,9 @@ namespace BlackGui
CCopySettingsAndCachesComponent::~CCopySettingsAndCachesComponent()
{ }
void CCopySettingsAndCachesComponent::reloadOtherVersions()
void CCopySettingsAndCachesComponent::reloadOtherVersions(int deferMs)
{
ui->comp_OtherSwiftVersions->reloadOtherVersions();
ui->comp_OtherSwiftVersions->reloadOtherVersionsDeferred(deferMs);
}
void CCopySettingsAndCachesComponent::onOtherVersionChanged(const CApplicationInfo &info)
@@ -475,7 +475,7 @@ namespace BlackGui
void CCopySettingsAndCachesWizardPage::initializePage()
{
// re-init other versions
if (m_copyCachesAndSettings) { m_copyCachesAndSettings->reloadOtherVersions(); }
if (m_copyCachesAndSettings) { m_copyCachesAndSettings->reloadOtherVersions(1000); }
}
bool CCopySettingsAndCachesWizardPage::validatePage()