refactor: make Resource Pack model inherit from ResourceFolderModel
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
1e2f0ab308
commit
256f8094f5
2 changed files with 3 additions and 25 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue