History

replaced Application::resourcesPath() with PathUtils::resourcesPath()

ZappoMan committed 11 years ago

Commit bfcc78c1 parent 753dc0729 files · +194 −124Browse files

Showing the changes to interface/src/Menu.cpp (1 of 29 files). Show all

Unified · Split

interface/src/Menu.cpp+2−1
@@ -32,6 +32,7 @@ · 31 unmodified lines
3232 #include <AccountManager.h>
3333 #include <AddressManager.h>
3434 #include <DependencyManager.h>
35+#include <PathUtils.h>
3536 #include <UUID.h>
3637 #include <UserActivityLogger.h>
3738 #include <XmppClient.h>
@@ -246,7 +247,7 @@ Menu::Menu() : · 208 unmodified lines
246247 connect(&xmppClient, &QXmppClient::connected, this, &Menu::toggleChat);
247248 connect(&xmppClient, &QXmppClient::disconnected, this, &Menu::toggleChat);
248249
249− QDir::setCurrent(Application::resourcesPath());
250+ QDir::setCurrent(PathUtils::resourcesPath());
250251 // init chat window to listen chat
251252 _chatWindow = new ChatWindow(Application::getInstance()->getWindow());
252253 #endif