fixed some cleaning of remotely closed tunnels in GxsTunnelService

This commit is contained in:
csoler 2015-12-03 00:34:13 -05:00
parent 81b196d38d
commit b198f1a007
2 changed files with 106 additions and 93 deletions

View file

@ -104,7 +104,7 @@ void PopupDistantChatDialog::updateDisplay()
{
case RS_DISTANT_CHAT_STATUS_UNKNOWN: //std::cerr << "Unknown hash. Error!" << std::endl;
_status_label->setPixmap(QPixmap(IMAGE_GRY_LED)) ;
msg = tr("Hash Error. No tunnel.");
msg = tr("Chat remotely closed. Please close this window.");
_status_label->setToolTip(msg) ;
getChatWidget()->updateStatusString("%1", msg, true);
getChatWidget()->blockSending(tr("Can't send message, because there is no tunnel."));