chore: cleanup review suggestions

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2023-01-09 17:12:28 -07:00
parent a4870d4834
commit 574af2c795
2 changed files with 5 additions and 8 deletions

View File

@ -76,6 +76,3 @@ QString getPackedTypeName(PackedResourceType type) {
} }
} }

View File

@ -3,8 +3,8 @@
#include <QDialog> #include <QDialog>
#include <QItemSelection> #include <QItemSelection>
#include "ui/instanceview/InstanceProxyModel.h"
#include "minecraft/mod/tasks/LocalResourceParse.h" #include "minecraft/mod/tasks/LocalResourceParse.h"
#include "ui/instanceview/InstanceProxyModel.h"
namespace Ui { namespace Ui {
class ImportResourceDialog; class ImportResourceDialog;
@ -14,15 +14,15 @@ class ImportResourceDialog : public QDialog {
Q_OBJECT Q_OBJECT
public: public:
explicit ImportResourceDialog(QString file_path, PackedResourceType type, QWidget* parent = 0); explicit ImportResourceDialog(QString file_path, PackedResourceType type, QWidget* parent = nullptr);
~ImportResourceDialog(); ~ImportResourceDialog() override;
InstanceProxyModel* proxyModel;
QString selectedInstanceKey; QString selectedInstanceKey;
private: private:
Ui::ImportResourceDialog* ui; Ui::ImportResourceDialog* ui;
PackedResourceType m_resource_type; PackedResourceType m_resource_type;
QString m_file_path; QString m_file_path;
InstanceProxyModel* proxyModel;
private slots: private slots:
void selectionChanged(QItemSelection, QItemSelection); void selectionChanged(QItemSelection, QItemSelection);