mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -140,7 +140,7 @@ MessagesDialog::MessagesDialog(QWidget *parent)
|
|||||||
|
|
||||||
loadToolButtonsettings();
|
loadToolButtonsettings();
|
||||||
|
|
||||||
mFont = QFont("Times", 11, QFont::Bold);
|
mFont = QFont("Arial", 10, QFont::Bold);
|
||||||
ui.subjectText->setFont(mFont);
|
ui.subjectText->setFont(mFont);
|
||||||
|
|
||||||
|
|
||||||
@ -622,7 +622,7 @@ void MessagesDialog::insertMessages()
|
|||||||
{
|
{
|
||||||
QDateTime qtime;
|
QDateTime qtime;
|
||||||
qtime.setTime_t(it->ts);
|
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);
|
item -> setText(3, timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -838,7 +838,7 @@ void MessagesDialog::insertMsgTxtAndFiles()
|
|||||||
{
|
{
|
||||||
QDateTime qtime;
|
QDateTime qtime;
|
||||||
qtime.setTime_t(msgInfo.ts);
|
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.dateText-> setText(timestamp);
|
||||||
}
|
}
|
||||||
ui.toText->setText(msgTxt);
|
ui.toText->setText(msgTxt);
|
||||||
|
@ -1081,6 +1081,11 @@ p, li { white-space: pre-wrap; }
|
|||||||
<height>12</height>
|
<height>12</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>9</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -1203,6 +1208,11 @@ p, li { white-space: pre-wrap; }
|
|||||||
<height>12</height>
|
<height>12</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>9</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -1248,6 +1258,11 @@ p, li { white-space: pre-wrap; }
|
|||||||
<height>22</height>
|
<height>22</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>9</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
Loading…
Reference in New Issue
Block a user