diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-01-09 17:12:28 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-01-09 17:18:08 -0700 |
commit | 574af2c795a19246c18e5f07a49d6d41f5670a6e (patch) | |
tree | 82a1782bc284082c09a1d8c2cbc2a7ed2406d26e /launcher/ui/dialogs | |
parent | a4870d4834f627f6c730d7b72237d7357aeacc8f (diff) | |
download | PrismLauncher-574af2c795a19246c18e5f07a49d6d41f5670a6e.tar.gz PrismLauncher-574af2c795a19246c18e5f07a49d6d41f5670a6e.tar.bz2 PrismLauncher-574af2c795a19246c18e5f07a49d6d41f5670a6e.zip |
chore: cleanup review suggestions
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r-- | launcher/ui/dialogs/ImportResourceDialog.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/launcher/ui/dialogs/ImportResourceDialog.h b/launcher/ui/dialogs/ImportResourceDialog.h index c9e3f956..5f2f7a92 100644 --- a/launcher/ui/dialogs/ImportResourceDialog.h +++ b/launcher/ui/dialogs/ImportResourceDialog.h @@ -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; @@ -14,15 +14,15 @@ class ImportResourceDialog : public QDialog { Q_OBJECT public: - explicit ImportResourceDialog(QString file_path, PackedResourceType type, QWidget* parent = 0); - ~ImportResourceDialog(); - InstanceProxyModel* proxyModel; + explicit ImportResourceDialog(QString file_path, PackedResourceType type, QWidget* parent = nullptr); + ~ImportResourceDialog() override; QString selectedInstanceKey; - + private: Ui::ImportResourceDialog* ui; PackedResourceType m_resource_type; QString m_file_path; + InstanceProxyModel* proxyModel; private slots: void selectionChanged(QItemSelection, QItemSelection); |