Skip to content

Commit

Permalink
adjusted code style
Browse files Browse the repository at this point in the history
  • Loading branch information
memurats committed Oct 30, 2024
1 parent de916a7 commit b7597e2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/gui/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}

Expand Down

0 comments on commit b7597e2

Please sign in to comment.