mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
commit
f3bd796c73
@ -1791,7 +1791,7 @@ void ChatWidget::updatePeersCustomStateString(const QString& /*peer_id*/, const
|
|||||||
|
|
||||||
void ChatWidget::updateStatusString(const QString &statusMask, const QString &statusString, bool permanent)
|
void ChatWidget::updateStatusString(const QString &statusMask, const QString &statusString, bool permanent)
|
||||||
{
|
{
|
||||||
ui->typingLabel->setText(QString(statusMask).arg(tr(statusString.toUtf8()))); // displays info for 5 secs.
|
ui->typingLabel->setText(QString(statusMask).arg(trUtf8(statusString.toUtf8()))); // displays info for 5 secs.
|
||||||
ui->typingPixmapLabel->setPixmap(QPixmap(":images/typing.png") );
|
ui->typingPixmapLabel->setPixmap(QPixmap(":images/typing.png") );
|
||||||
|
|
||||||
if (statusString == "is typing...") {
|
if (statusString == "is typing...") {
|
||||||
|
@ -135,7 +135,7 @@ void PopupDistantChatDialog::updateDisplay()
|
|||||||
break ;
|
break ;
|
||||||
case RS_DISTANT_CHAT_STATUS_TUNNEL_DN:
|
case RS_DISTANT_CHAT_STATUS_TUNNEL_DN:
|
||||||
//std::cerr << "Tunnel asked. Waiting for reponse. " << std::endl;
|
//std::cerr << "Tunnel asked. Waiting for reponse. " << std::endl;
|
||||||
_status_label->setIcon(QIcon(IMAGE_RED_LED));
|
_status_label->setIcon(QIcon(IMAGE_YEL_LED));
|
||||||
msg = QObject::tr( "Tunnel is pending... Messages will be delivered as"
|
msg = QObject::tr( "Tunnel is pending... Messages will be delivered as"
|
||||||
" soon as possible" );
|
" soon as possible" );
|
||||||
_status_label->setToolTip(msg);
|
_status_label->setToolTip(msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user