mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 21:27:44 +02:00
Revert "fix: 6.2 deprecation warning regard the QScopedPointer::swap function (#3655)"
This reverts commitca258109c5
, reversing changes made to693d9d02bc
. Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user