fix aarch64 build

This commit is contained in:
RSDuck 2024-03-12 08:41:42 +01:00
parent 18d1df606f
commit 5fdd285c9a
1 changed files with 1 additions and 1 deletions

View File

@ -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)