diff --git a/src/gui/main.cpp b/src/gui/main.cpp index a5ee49bcadf4..6742a8b1a0e5 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -58,17 +58,6 @@ int main(int argc, char **argv) #ifdef Q_OS_WIN SetDllDirectory(L""); #endif - bool resourceLoaded = false; - const QString currentPath = QDir::currentPath(); - if(Utility::isMac()) - { - resourceLoaded = QResource::registerResource(QDir::toNativeSeparators("/Applications/MagentaCLOUD.app/Contents/Resources/nmctheme_v1.rcc")); - } - else if(Utility::isWindows() || !resourceLoaded) - { - resourceLoaded = QResource::registerResource(QDir::toNativeSeparators(currentPath + "/nmctheme_v1.rcc")); - } - Q_INIT_RESOURCE(resources); Q_INIT_RESOURCE(theme);