summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-09 20:36:58 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-09 20:36:58 +0300
commit76a67b908156124490210db74832f34d3ab3652e (patch)
tree23b3b01203460e0782ed3f9cc80b9e8b21c5cdd2 /src/client.cpp
parentba33c1a780071c7b4aefd24ca6da2cc345d80527 (diff)
downloadManaVerse-76a67b908156124490210db74832f34d3ab3652e.tar.gz
ManaVerse-76a67b908156124490210db74832f34d3ab3652e.tar.bz2
ManaVerse-76a67b908156124490210db74832f34d3ab3652e.tar.xz
ManaVerse-76a67b908156124490210db74832f34d3ab3652e.zip
Show server host name in window title.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 3259f2265..ccc64b30f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -775,6 +775,7 @@ void Client::stateConnectServer1()
settings.persistentIp = mCurrentServer.persistentIp;
settings.supportUrl = mCurrentServer.supportUrl;
settings.updateMirrors = mCurrentServer.updateMirrors;
+ WindowManager::updateTitle();
if (settings.options.username.empty())
{
@@ -1618,6 +1619,7 @@ int Client::gameExec()
gameHandler->clear();
}
settings.serverName.clear();
+ WindowManager::updateTitle();
serverConfig.write();
serverConfig.unload();
if (setupWindow)