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
32#include <AccountManager.h>32#include <AccountManager.h>
33#include <AddressManager.h>33#include <AddressManager.h>
34#include <DependencyManager.h>34#include <DependencyManager.h>
35#include <PathUtils.h>
35#include <UUID.h>36#include <UUID.h>
36#include <UserActivityLogger.h>37#include <UserActivityLogger.h>
37#include <XmppClient.h>38#include <XmppClient.h>
@@ -246,7 +247,7 @@ Menu::Menu() : · 208 unmodified lines
246 connect(&xmppClient, &QXmppClient::connected, this, &Menu::toggleChat);247 connect(&xmppClient, &QXmppClient::connected, this, &Menu::toggleChat);
247 connect(&xmppClient, &QXmppClient::disconnected, this, &Menu::toggleChat);248 connect(&xmppClient, &QXmppClient::disconnected, this, &Menu::toggleChat);
248 249
249 QDir::setCurrent(Application::resourcesPath());250 QDir::setCurrent(PathUtils::resourcesPath());
250 // init chat window to listen chat251 // init chat window to listen chat
251 _chatWindow = new ChatWindow(Application::getInstance()->getWindow());252 _chatWindow = new ChatWindow(Application::getInstance()->getWindow());
252#endif253#endif