Replace deleted '+' operator for flags with '|' operator

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2022-11-23 17:54:42 +01:00 committed by Matthieu Gallien
parent 6210490109
commit 84414ce5dc
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ SocketApi::SocketApi(QObject *parent)
qCDebug(lcSocketApi) << "creating" << info.dir().path() << result;
if (result) {
QFile::setPermissions(socketPath,
QFile::Permissions(QFile::ReadOwner + QFile::WriteOwner + QFile::ExeOwner));
QFile::Permissions(QFile::ReadOwner | QFile::WriteOwner | QFile::ExeOwner));
}
}
}