mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
chore(clang-tidy): fix clang tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
ca721f9d67
commit
a63048d7e2
19 changed files with 494 additions and 405 deletions
|
|
@ -20,7 +20,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "net/NetJob.h"
|
||||
#include "net/ApiHeaderProxy.h"
|
||||
#include "tasks/SequentialTask.h"
|
||||
|
||||
#include "minecraft/mod/tasks/LocalResourceUpdateTask.h"
|
||||
|
|
@ -34,7 +33,7 @@ class ResourceDownloadTask : public SequentialTask {
|
|||
explicit ResourceDownloadTask(ModPlatform::IndexedPack::Ptr pack,
|
||||
ModPlatform::IndexedVersion version,
|
||||
ResourceFolderModel* packs,
|
||||
bool is_indexed = true,
|
||||
bool isIndexed = true,
|
||||
QString downloadReason = "standalone");
|
||||
const QString& getFilename() const { return m_pack_version.fileName; }
|
||||
const QVariant& getVersionID() const { return m_pack_version.fileId; }
|
||||
|
|
@ -58,5 +57,5 @@ class ResourceDownloadTask : public SequentialTask {
|
|||
std::tuple<QString, QString> to_delete{ "", "" };
|
||||
|
||||
private slots:
|
||||
void hasOldResource(QString name, QString filename);
|
||||
void hasOldResource(const QString& name, const QString& filename);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue