Small headers removal

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-04-17 01:10:02 +03:00
parent 7bd26ce468
commit f3f8f3574a
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318
3 changed files with 16 additions and 26 deletions

View File

@ -27,10 +27,6 @@
#include "tasks/ConcurrentTask.h" #include "tasks/ConcurrentTask.h"
#include "tasks/SequentialTask.h" #include "tasks/SequentialTask.h"
#ifdef Q_OS_WIN32
#include <windows.h>
#endif
GetModDependenciesTask::GetModDependenciesTask(QDir index_dir, QList<ModPlatform::IndexedVersion> selected, NewDependecyVersionAPITask api) GetModDependenciesTask::GetModDependenciesTask(QDir index_dir, QList<ModPlatform::IndexedVersion> selected, NewDependecyVersionAPITask api)
: m_selected(selected), m_getDependenciesVersionAPI(api) : m_selected(selected), m_getDependenciesVersionAPI(api)
{ {
@ -41,10 +37,6 @@ GetModDependenciesTask::GetModDependenciesTask(QDir index_dir, QList<ModPlatform
m_mods = mods; m_mods = mods;
prepareDependecies(); prepareDependecies();
}); });
#ifdef Q_OS_WIN32
SetFileAttributesW(index_dir.path().toStdWString().c_str(), FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_NOT_CONTENT_INDEXED);
#endif
} }
void GetModDependenciesTask::executeTask() void GetModDependenciesTask::executeTask()

View File

@ -19,7 +19,6 @@
#include "LocalModUpdateTask.h" #include "LocalModUpdateTask.h"
#include "Application.h"
#include "FileSystem.h" #include "FileSystem.h"
#include "minecraft/mod/MetadataHandler.h" #include "minecraft/mod/MetadataHandler.h"

View File

@ -23,7 +23,6 @@
#include <QPushButton> #include <QPushButton>
#include <algorithm> #include <algorithm>
#include <cstddef>
#include "Application.h" #include "Application.h"
#include "ResourceDownloadTask.h" #include "ResourceDownloadTask.h"