Added the downloading of the mods

This commit is contained in:
timoreo
2022-01-14 12:47:18 +01:00
parent 4d599eb118
commit 9e6fa8f29a
7 changed files with 54 additions and 8 deletions

View File

@ -32,7 +32,7 @@
ModDownloadDialog::ModDownloadDialog(const std::shared_ptr<ModFolderModel>& mods, QWidget *parent)
: QDialog(parent)
: QDialog(parent), mods(mods)
{
setObjectName(QStringLiteral("ModDownloadDialog"));
resize(400, 347);

View File

@ -46,6 +46,7 @@ public:
void setSuggestedMod(const QString & name = QString(), ModDownloadTask * task = nullptr);
ModDownloadTask * getTask();
const std::shared_ptr<ModFolderModel> &mods;
public slots:
void accept() override;