diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-29 12:56:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-29 12:56:16 +0300 |
commit | 1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f (patch) | |
tree | 3eea380919dae735fdbeacff314edf1ad06d26ab /src/gui/dialogsmanager.cpp | |
parent | 0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5 (diff) | |
download | manaverse-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.cpp | 6 |
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(); |