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:
parent
cb8f6f5e80
commit
476f3edce0
12 changed files with 36 additions and 36 deletions
|
@ -49,6 +49,11 @@
|
|||
#include "Application.h"
|
||||
#include "minecraft/PackProfile.h"
|
||||
|
||||
unique_qobject_ptr<ModFilterWidget> ModFilterWidget::create(MinecraftInstance* instance, bool extended, QWidget* parent)
|
||||
{
|
||||
return unique_qobject_ptr<ModFilterWidget>(new ModFilterWidget(instance, extended, parent));
|
||||
}
|
||||
|
||||
class VersionBasicModel : public QIdentityProxyModel {
|
||||
Q_OBJECT
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ class ModFilterWidget : public QTabWidget {
|
|||
}
|
||||
};
|
||||
|
||||
ModFilterWidget(MinecraftInstance* instance, bool extendedSupport, QWidget* parent = nullptr);
|
||||
static unique_qobject_ptr<ModFilterWidget> create(MinecraftInstance* instance, bool extended, QWidget* parent = nullptr);
|
||||
virtual ~ModFilterWidget();
|
||||
|
||||
auto getFilter() -> std::shared_ptr<Filter>;
|
||||
|
@ -96,6 +96,8 @@ class ModFilterWidget : public QTabWidget {
|
|||
void setCategories(const QList<ModPlatform::Category>&);
|
||||
|
||||
private:
|
||||
ModFilterWidget(MinecraftInstance* instance, bool extendedSupport, QWidget* parent = nullptr);
|
||||
|
||||
void loadVersionList();
|
||||
void prepareBasicFilter();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue