aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-05-02 21:34:55 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-07-10 12:19:15 +0200
commitc36342371819a4983b5ac2b928acc6a78b857ed8 (patch)
tree925d5ef6756a205feddc40864c0717e0c6472d44 /launcher/FileSystem.cpp
parente58158c3cd629717a9742fe08da9b09ed39bc198 (diff)
downloadPrismLauncher-c36342371819a4983b5ac2b928acc6a78b857ed8.tar.gz
PrismLauncher-c36342371819a4983b5ac2b928acc6a78b857ed8.tar.bz2
PrismLauncher-c36342371819a4983b5ac2b928acc6a78b857ed8.zip
refactor: fix deprecation up to Qt 6
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/FileSystem.cpp')
-rw-r--r--launcher/FileSystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp
index 3837d75f..8e984b2b 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -346,7 +346,7 @@ bool checkProblemticPathJava(QDir folder)
}
// Win32 crap
-#if defined Q_OS_WIN
+#ifdef Q_OS_WIN
bool called_coinit = false;
@@ -366,7 +366,7 @@ HRESULT CreateLink(LPCSTR linkPath, LPCSTR targetPath, LPCSTR args)
}
}
- IShellLink *link;
+ IShellLinkA *link;
hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink,
(LPVOID *)&link);