Show hostname when connecting.

git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@902 05730e5d-ab1b-0410-a4ac-84af385074fa
This commit is contained in:
Thorvald Natvig 2007-12-14 21:01:19 +00:00
parent 598359f49a
commit c02418924f

View File

@ -274,6 +274,8 @@ void MainWindow::on_qaServerConnect_triggered() {
}
void MainWindow::on_Reconnect_timeout() {
if (g.sh->isRunning())
return;
g.l->log(Log::ServerDisconnected, tr("Reconnecting."));
g.sh->start(QThread::TimeCriticalPriority);
}
@ -869,7 +871,10 @@ void MainWindow::serverConnected() {
g.l->clearIgnore();
g.l->setIgnore(Log::PlayerJoin);
g.l->setIgnore(Log::OtherSelfMute);
g.l->log(Log::ServerConnected, tr("Connected to server."));
QString host, uname, pw;
int port;
g.sh->getConnectionInfo(host, port, uname, pw);
g.l->log(Log::ServerConnected, tr("Connected to server %1.").arg(host));
qaServerDisconnect->setEnabled(true);
qaServerInformation->setEnabled(true);
qaServerBanList->setEnabled(true);