From b7597e2f3d13ec2ba6cf985d8c25d79474d94ab8 Mon Sep 17 00:00:00 2001 From: Mauro Mura Date: Wed, 30 Oct 2024 10:57:12 +0100 Subject: [PATCH] adjusted code style --- src/gui/main.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 4e6ab602e97b..c77202e37b9a 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -59,12 +59,9 @@ int main(int argc, char **argv) bool resourceLoaded = false; const QString currentPath = QDir::currentPath(); - if(Utility::isMac()) - { + if(Utility::isMac()) { resourceLoaded = QResource::registerResource(QDir::toNativeSeparators("/Applications/MagentaCLOUD.app/Contents/Resources/nmctheme_v1.rcc")); - } - else if(Utility::isWindows() || !resourceLoaded) - { + } else if(Utility::isWindows() || !resourceLoaded) { resourceLoaded = QResource::registerResource(QDir::toNativeSeparators(currentPath + "/nmctheme_v1.rcc")); }