refactor: make Resource Pack model inherit from ResourceFolderModel

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-08-10 14:46:28 -03:00
parent 1e2f0ab308
commit 256f8094f5
No known key found for this signature in database
GPG key ID: 8D0F221F0A59F469
2 changed files with 3 additions and 25 deletions

View file

@ -1,13 +1,10 @@
#pragma once
#include "ModFolderModel.h"
#include "ResourceFolderModel.h"
class ResourcePackFolderModel : public ModFolderModel
class ResourcePackFolderModel : public ResourceFolderModel
{
Q_OBJECT
public:
explicit ResourcePackFolderModel(const QString &dir);
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
};