summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-29 00:27:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-29 12:56:42 +0300
commit7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680 (patch)
treec9689b1b707b73a8a4e3cc5b24d9ca67765ef217 /src/game.cpp
parent1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f (diff)
downloadmanaverse-7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680.tar.gz
manaverse-7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680.tar.bz2
manaverse-7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680.tar.xz
manaverse-7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680.zip
Move openErrorDialog into DialogsManager.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 2e6e9ddd3..6d82f7138 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -674,7 +674,7 @@ void Game::slowLogic()
{
// TRANSLATORS: error message text
errorMessage = _("The connection to the server was lost.");
- disconnectedDialog = client->openErrorDialog(
+ disconnectedDialog = DialogsManager::openErrorDialog(
// TRANSLATORS: error message header
_("Network Error"), errorMessage, false);
disconnectedDialog->addActionListener(&errorListener);