Merge branch 'PrismLauncher:develop' into better-component-installation

This commit is contained in:
TheKodeToad
2023-06-22 13:22:44 +01:00
committed by GitHub
17 changed files with 133 additions and 72 deletions

View File

@ -94,6 +94,10 @@ PageContainer::PageContainer(BasePageProvider *pageProvider, QString defaultId,
page->listIndex = counter;
page->setParentContainer(this);
counter++;
page->updateExtraInfo = [this](QString info) {
if (m_currentPage)
m_header->setText(m_currentPage->displayName() + info);
};
}
m_model->setPages(pages);