Merge remote-tracking branch 'upstream/develop' into data-packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
commit
6ab4fef0c5
686 changed files with 15261 additions and 9719 deletions
|
@ -239,7 +239,7 @@ void WorldListPage::on_actionData_Packs_triggered()
|
|||
dialog->restoreGeometry(QByteArray::fromBase64(APPLICATION->settings()->get("DataPackDownloadGeometry").toByteArray()));
|
||||
|
||||
auto layout = new QHBoxLayout(dialog);
|
||||
auto page = new DataPackPage(m_inst, std::make_shared<DataPackFolderModel>(folder, m_inst));
|
||||
auto page = new DataPackPage(m_inst.get(), std::make_shared<DataPackFolderModel>(folder, m_inst.get(), true, true));
|
||||
page->setParent(dialog); // HACK: many pages extend QMainWindow; setting the parent manually prevents them from creating a window.
|
||||
layout->addWidget(page);
|
||||
dialog->setLayout(layout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue