mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: 6.2 deprecation warning regard the QScopedPointer::swap function
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
3df98dd5e7
commit
e3ff9630e9
12 changed files with 36 additions and 36 deletions
|
|
@ -142,9 +142,9 @@ auto ModrinthShaderPackPage::shouldDisplay() const -> bool
|
|||
return true;
|
||||
}
|
||||
|
||||
unique_qobject_ptr<ModFilterWidget> ModrinthModPage::createFilterWidget()
|
||||
ModFilterWidget* ModrinthModPage::createFilterWidget()
|
||||
{
|
||||
return ModFilterWidget::create(&static_cast<MinecraftInstance&>(m_baseInstance), true, this);
|
||||
return new ModFilterWidget(&static_cast<MinecraftInstance&>(m_baseInstance), true, this);
|
||||
}
|
||||
|
||||
void ModrinthModPage::prepareProviderCategories()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue