diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-14 19:46:52 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-14 20:00:54 +0200 |
commit | c6b3eccbdf2785b59ab33ed99fabf6f3f5d81d2a (patch) | |
tree | f02fe2749994e1f6d404c6d6339ff5b7472a19ce /launcher/ui/dialogs | |
parent | 123ed5bd2e12ad72b6df39ef747e31d64aae6dce (diff) | |
download | PrismLauncher-c6b3eccbdf2785b59ab33ed99fabf6f3f5d81d2a.tar.gz PrismLauncher-c6b3eccbdf2785b59ab33ed99fabf6f3f5d81d2a.tar.bz2 PrismLauncher-c6b3eccbdf2785b59ab33ed99fabf6f3f5d81d2a.zip |
refactor: rename Modrinth classes to ModrinthMod
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r-- | launcher/ui/dialogs/ModDownloadDialog.cpp | 4 | ||||
-rw-r--r-- | launcher/ui/dialogs/ModDownloadDialog.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/launcher/ui/dialogs/ModDownloadDialog.cpp b/launcher/ui/dialogs/ModDownloadDialog.cpp index d02ea476..305e85c0 100644 --- a/launcher/ui/dialogs/ModDownloadDialog.cpp +++ b/launcher/ui/dialogs/ModDownloadDialog.cpp @@ -13,7 +13,7 @@ #include <QDialogButtonBox> #include "ui/widgets/PageContainer.h" -#include "ui/pages/modplatform/modrinth/ModrinthPage.h" +#include "ui/pages/modplatform/modrinth/ModrinthModPage.h" #include "ModDownloadTask.h" @@ -98,7 +98,7 @@ void ModDownloadDialog::accept() QList<BasePage *> ModDownloadDialog::getPages() { - modrinthPage = new ModrinthPage(this, m_instance); + modrinthPage = new ModrinthModPage(this, m_instance); flameModPage = new FlameModPage(this, m_instance); return { diff --git a/launcher/ui/dialogs/ModDownloadDialog.h b/launcher/ui/dialogs/ModDownloadDialog.h index 309d89d0..782dc361 100644 --- a/launcher/ui/dialogs/ModDownloadDialog.h +++ b/launcher/ui/dialogs/ModDownloadDialog.h @@ -16,7 +16,7 @@ class ModDownloadDialog; class PageContainer; class QDialogButtonBox; -class ModrinthPage; +class ModrinthModPage; class ModDownloadDialog : public QDialog, public BasePageProvider { @@ -50,7 +50,7 @@ private: QVBoxLayout *m_verticalLayout = nullptr; - ModrinthPage *modrinthPage = nullptr; + ModrinthModPage *modrinthPage = nullptr; FlameModPage *flameModPage = nullptr; QHash<QString, ModDownloadTask*> modTask; BaseInstance *m_instance; |