Skip to content

Commit

Permalink
chore: cleanup review suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
  • Loading branch information
Ryex committed Jan 10, 2023
1 parent a4870d4 commit aa550d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions launcher/minecraft/mod/tasks/LocalResourceParse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,3 @@ QString getPackedTypeName(PackedResourceType type) {
}

}



8 changes: 4 additions & 4 deletions launcher/ui/dialogs/ImportResourceDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#include <QDialog>
#include <QItemSelection>

#include "ui/instanceview/InstanceProxyModel.h"
#include "minecraft/mod/tasks/LocalResourceParse.h"
#include "ui/instanceview/InstanceProxyModel.h"

namespace Ui {
class ImportResourceDialog;
Expand All @@ -14,15 +14,15 @@ class ImportResourceDialog : public QDialog {
Q_OBJECT

public:
explicit ImportResourceDialog(QString file_path, PackedResourceType type, QWidget* parent = 0);
~ImportResourceDialog();
explicit ImportResourceDialog(QString file_path, PackedResourceType type, QWidget* parent = nullptr);
~ImportResourceDialog() override;
InstanceProxyModel* proxyModel;
QString selectedInstanceKey;

private:
Ui::ImportResourceDialog* ui;
PackedResourceType m_resource_type;
QString m_file_path;
QString selectedInstanceKey;

private slots:
void selectionChanged(QItemSelection, QItemSelection);
Expand Down

0 comments on commit aa550d7

Please sign in to comment.