Revert "fix: 6.2 deprecation warning regard the QScopedPointer::swap function (#3655)"

This reverts commit ca258109c5, reversing
changes made to 693d9d02bc.
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2025-05-06 00:06:56 +03:00
parent cb8f6f5e80
commit 476f3edce0
12 changed files with 36 additions and 36 deletions

View File

@ -142,9 +142,9 @@ auto ModrinthShaderPackPage::shouldDisplay() const -> bool
return true;
}
ModFilterWidget* ModrinthModPage::createFilterWidget()
unique_qobject_ptr<ModFilterWidget> ModrinthModPage::createFilterWidget()
{
return new ModFilterWidget(&static_cast<MinecraftInstance&>(m_baseInstance), true, this);
return ModFilterWidget::create(&static_cast<MinecraftInstance&>(m_baseInstance), true, this);
}
void ModrinthModPage::prepareProviderCategories()