Showing the changes to interface/src/Menu.cpp (1 of 29 files). Show all
Unified · Split
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include <AccountManager.h> |
| 33 | 33 | #include <AddressManager.h> |
| 34 | 34 | #include <DependencyManager.h> |
| 35 | +#include <PathUtils.h> | |
| 35 | 36 | #include <UUID.h> |
| 36 | 37 | #include <UserActivityLogger.h> |
| 37 | 38 | #include <XmppClient.h> |
| @@ -246,7 +247,7 @@ Menu::Menu() : · 208 unmodified lines | ||
| 246 | 247 | connect(&xmppClient, &QXmppClient::connected, this, &Menu::toggleChat); |
| 247 | 248 | connect(&xmppClient, &QXmppClient::disconnected, this, &Menu::toggleChat); |
| 248 | 249 | |
| 249 | − QDir::setCurrent(Application::resourcesPath()); | |
| 250 | + QDir::setCurrent(PathUtils::resourcesPath()); | |
| 250 | 251 | // init chat window to listen chat |
| 251 | 252 | _chatWindow = new ChatWindow(Application::getInstance()->getWindow()); |
| 252 | 253 | #endif |