mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Added and modified patch from Henry
Modified the date format according to the chosen language (locale). git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5798 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
59ed165c81
commit
a573211629
27 changed files with 159 additions and 129 deletions
|
@ -706,7 +706,7 @@ void FriendsDialog::setChatInfo(QString info, QColor color)
|
|||
ui.msgText->clear();
|
||||
nbLines = 1;
|
||||
}
|
||||
ui.msgText->append(QString::fromUtf8("<font color='grey'>")+ QTime::currentTime().toString(QString::fromUtf8("hh:mm:ss")) + QString::fromUtf8("</font> - <font color='") + color.name() +QString::fromUtf8("'><i>") + info + QString::fromUtf8("</i></font>"));
|
||||
ui.msgText->append("<font color='grey'>" + QTime::currentTime().toString(Qt::DefaultLocaleShortDate) + "</font> - <font color='" + color.name() + "'><i>" + info + "</i></font>");
|
||||
}
|
||||
|
||||
void FriendsDialog::on_actionClear_Chat_History_triggered()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue