summaryrefslogtreecommitdiff
path: root/src/gui/dialogsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-29 12:56:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-29 12:56:16 +0300
commit1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f (patch)
tree3eea380919dae735fdbeacff314edf1ad06d26ab /src/gui/dialogsmanager.cpp
parent0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5 (diff)
downloadManaVerse-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.gz
ManaVerse-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.bz2
ManaVerse-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.xz
ManaVerse-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.zip
Move many variables from client into settings.
Diffstat (limited to 'src/gui/dialogsmanager.cpp')
-rw-r--r--src/gui/dialogsmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp
index ed1ea9604..b23152605 100644
--- a/src/gui/dialogsmanager.cpp
+++ b/src/gui/dialogsmanager.cpp
@@ -22,7 +22,7 @@
#include "gui/dialogsmanager.h"
-#include "client.h"
+#include "settings.h"
#include "gui/windows/buyselldialog.h"
#include "gui/windows/buydialog.h"
@@ -56,8 +56,8 @@ void DialogsManager::closeDialogs()
void DialogsManager::createUpdaterWindow()
{
- updaterWindow = new UpdaterWindow(client->getUpdateHost(),
- client->getOldUpdates(),
+ updaterWindow = new UpdaterWindow(settings.updateHost,
+ settings.oldUpdates,
false,
0);
updaterWindow->postInit();