Hope to fix windows build errors
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
f3f8f3574a
commit
31e84780a8
@ -140,9 +140,7 @@ void ResourceDownloadDialog::confirm()
|
||||
|
||||
for (auto dep : dependencies) {
|
||||
dep.is_currently_selected = true;
|
||||
auto pack = ModPlatform::IndexedPack{
|
||||
.addonId = dep.addonId, .provider = ModPlatform::ResourceProvider::FLAME, .name = dep.fileName, .slug = dep.fileName
|
||||
};
|
||||
auto pack = ModPlatform::IndexedPack{ dep.addonId, ModPlatform::ResourceProvider::FLAME, dep.fileName, dep.fileName };
|
||||
m_selected.insert(dep.fileName, makeShared<ResourceDownloadTask>(pack, dep, getBaseModel(), true));
|
||||
}
|
||||
|
||||
|
@ -43,9 +43,6 @@
|
||||
#include <QKeyEvent>
|
||||
|
||||
#include "Markdown.h"
|
||||
#include "ResourceDownloadTask.h"
|
||||
|
||||
#include "minecraft/MinecraftInstance.h"
|
||||
|
||||
#include "ui/dialogs/ResourceDownloadDialog.h"
|
||||
#include "ui/pages/modplatform/ResourceModel.h"
|
||||
|
Loading…
Reference in New Issue
Block a user