aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/technic
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-01-25 12:53:33 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-01-31 21:40:59 +0100
commit0442b80a2c0a7d99fa8b7df5d64c1ddfc676f251 (patch)
tree012f54344013fc0ff9328e7b10c3c5423a67dd2d /launcher/modplatform/technic
parent81c72c2038f35e744e038923105d91add5a0732c (diff)
downloadPrismLauncher-0442b80a2c0a7d99fa8b7df5d64c1ddfc676f251.tar.gz
PrismLauncher-0442b80a2c0a7d99fa8b7df5d64c1ddfc676f251.tar.bz2
PrismLauncher-0442b80a2c0a7d99fa8b7df5d64c1ddfc676f251.zip
refactor: simpler includes for quazip
Diffstat (limited to 'launcher/modplatform/technic')
-rw-r--r--launcher/modplatform/technic/SingleZipPackInstallTask.h4
-rw-r--r--launcher/modplatform/technic/TechnicPackProcessor.cpp8
2 files changed, 0 insertions, 12 deletions
diff --git a/launcher/modplatform/technic/SingleZipPackInstallTask.h b/launcher/modplatform/technic/SingleZipPackInstallTask.h
index d3bdc00b..4d1fcbff 100644
--- a/launcher/modplatform/technic/SingleZipPackInstallTask.h
+++ b/launcher/modplatform/technic/SingleZipPackInstallTask.h
@@ -18,11 +18,7 @@
#include "InstanceTask.h"
#include "net/NetJob.h"
-#ifdef QUAZIP_USE_SUBMODULE
#include <quazip/quazip.h>
-#else
-#include "QuaZip-Qt5-1.2/quazip/quazip.h"
-#endif
#include <QFutureWatcher>
#include <QStringList>
diff --git a/launcher/modplatform/technic/TechnicPackProcessor.cpp b/launcher/modplatform/technic/TechnicPackProcessor.cpp
index a8b4d05b..c45061ac 100644
--- a/launcher/modplatform/technic/TechnicPackProcessor.cpp
+++ b/launcher/modplatform/technic/TechnicPackProcessor.cpp
@@ -19,17 +19,9 @@
#include <Json.h>
#include <minecraft/MinecraftInstance.h>
#include <minecraft/PackProfile.h>
-
-#ifdef QUAZIP_USE_SUBMODULE
#include <quazip/quazip.h>
#include <quazip/quazipdir.h>
#include <quazip/quazipfile.h>
-#else
-#include <QuaZip-Qt5-1.2/quazip/quazip.h>
-#include <QuaZip-Qt5-1.2/quazip/quazipdir.h>
-#include <QuaZip-Qt5-1.2/quazip/quazipfile.h>
-#endif
-
#include <settings/INISettingsObject.h>
#include <memory>