aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ModDownloadDialog.h
diff options
context:
space:
mode:
authortimoreo <timo.oreo34@gmail.com>2022-01-14 20:22:15 +0100
committertimoreo <timo.oreo34@gmail.com>2022-01-14 20:22:15 +0100
commit1a8c972aefae75ee91295ea5a926cca71d95140a (patch)
tree74c034e6746549d03152d00f8c054bb7d4fa47f7 /launcher/ui/dialogs/ModDownloadDialog.h
parent9e6fa8f29aa8bc0f609bfcdb6460c6845b73448a (diff)
downloadPrismLauncher-1a8c972aefae75ee91295ea5a926cca71d95140a.tar.gz
PrismLauncher-1a8c972aefae75ee91295ea5a926cca71d95140a.tar.bz2
PrismLauncher-1a8c972aefae75ee91295ea5a926cca71d95140a.zip
Fixed icons
Also having a mod loader is now enforced
Diffstat (limited to 'launcher/ui/dialogs/ModDownloadDialog.h')
-rw-r--r--launcher/ui/dialogs/ModDownloadDialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ModDownloadDialog.h b/launcher/ui/dialogs/ModDownloadDialog.h
index ac40257d..7b2d18a0 100644
--- a/launcher/ui/dialogs/ModDownloadDialog.h
+++ b/launcher/ui/dialogs/ModDownloadDialog.h
@@ -37,7 +37,7 @@ class ModDownloadDialog : public QDialog, public BasePageProvider
Q_OBJECT
public:
- explicit ModDownloadDialog(const std::shared_ptr<ModFolderModel>& mods, QWidget *parent = nullptr);
+ explicit ModDownloadDialog(const std::shared_ptr<ModFolderModel> &mods, QWidget *parent, BaseInstance *instance);
~ModDownloadDialog();
QString dialogTitle() override;
@@ -63,4 +63,5 @@ private:
ModrinthPage *modrinthPage = nullptr;
std::unique_ptr<ModDownloadTask> modTask;
+ BaseInstance *m_instance;
};