mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 01:55:19 -04:00
changed the Date Format to dd.MM.yyyy for Messages
changed font for Subject Label git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
522240961b
commit
d40983109b
2 changed files with 18 additions and 3 deletions
|
@ -140,7 +140,7 @@ MessagesDialog::MessagesDialog(QWidget *parent)
|
|||
|
||||
loadToolButtonsettings();
|
||||
|
||||
mFont = QFont("Times", 11, QFont::Bold);
|
||||
mFont = QFont("Arial", 10, QFont::Bold);
|
||||
ui.subjectText->setFont(mFont);
|
||||
|
||||
|
||||
|
@ -622,7 +622,7 @@ void MessagesDialog::insertMessages()
|
|||
{
|
||||
QDateTime qtime;
|
||||
qtime.setTime_t(it->ts);
|
||||
QString timestamp = qtime.toString("yyyy-MM-dd hh:mm:ss");
|
||||
QString timestamp = qtime.toString("dd.MM.yyyy hh:mm:ss");
|
||||
item -> setText(3, timestamp);
|
||||
}
|
||||
|
||||
|
@ -838,7 +838,7 @@ void MessagesDialog::insertMsgTxtAndFiles()
|
|||
{
|
||||
QDateTime qtime;
|
||||
qtime.setTime_t(msgInfo.ts);
|
||||
QString timestamp = qtime.toString("yyyy-MM-dd hh:mm:ss");
|
||||
QString timestamp = qtime.toString("dd.MM.yyyy hh:mm:ss");
|
||||
ui.dateText-> setText(timestamp);
|
||||
}
|
||||
ui.toText->setText(msgTxt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue