aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2024-03-12 08:41:42 +0100
committerRSDuck <RSDuck@users.noreply.github.com>2024-03-12 08:41:42 +0100
commit5fdd285c9a7f47601ff674df9d52abfd15355978 (patch)
tree9937d6d6a5301fe50b253fa7a09b9cc37e2918d5 /src/frontend
parent18d1df606f475c49bf7bfc6cdbbbdb9208e0e7df (diff)
fix aarch64 build
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/qt_sdl/Platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/Platform.cpp b/src/frontend/qt_sdl/Platform.cpp
index 7ffabfd..b3230a4 100644
--- a/src/frontend/qt_sdl/Platform.cpp
+++ b/src/frontend/qt_sdl/Platform.cpp
@@ -218,7 +218,7 @@ std::string InstanceFileSuffix()
static QIODevice::OpenMode GetQMode(FileMode mode)
{
- QIODevice::OpenMode qmode = 0;
+ QIODevice::OpenMode qmode = QIODevice::OpenModeFlag::NotOpen;
if (mode & FileMode::Read)
qmode |= QIODevice::OpenModeFlag::ReadOnly;
if (mode & FileMode::Write)