diff --git a/retroshare-gui/src/gui/MessagesDialog.cpp b/retroshare-gui/src/gui/MessagesDialog.cpp
index 2b3c8e371..34f53cb05 100644
--- a/retroshare-gui/src/gui/MessagesDialog.cpp
+++ b/retroshare-gui/src/gui/MessagesDialog.cpp
@@ -884,30 +884,21 @@ void MessagesDialog::insertMsgTxtAndFiles(QModelIndex Index)
QString msgTxt;
for(pit = msgInfo.msgto.begin(); pit != msgInfo.msgto.end(); pit++)
{
- msgTxt += QString::fromStdString(*pit);
- msgTxt += " <";
- msgTxt += QString::fromStdString(rsPeers->getPeerName(*pit));
- msgTxt += ">, ";
+ msgTxt += " " + QString::fromStdString(rsPeers->getPeerName(*pit)) + "" + " , ";
}
if (msgInfo.msgcc.size() > 0)
msgTxt += "\nCc: ";
for(pit = msgInfo.msgcc.begin(); pit != msgInfo.msgcc.end(); pit++)
{
- msgTxt += QString::fromStdString(*pit);
- msgTxt += " <";
- msgTxt += QString::fromStdString(rsPeers->getPeerName(*pit));
- msgTxt += ">, ";
+ msgTxt += " " + QString::fromStdString(rsPeers->getPeerName(*pit)) + "" + " , ";
}
if (msgInfo.msgbcc.size() > 0)
msgTxt += "\nBcc: ";
for(pit = msgInfo.msgbcc.begin(); pit != msgInfo.msgbcc.end(); pit++)
{
- msgTxt += QString::fromStdString(*pit);
- msgTxt += " <";
- msgTxt += QString::fromStdString(rsPeers->getPeerName(*pit));
- msgTxt += ">, ";
+ msgTxt += " " + QString::fromStdString(rsPeers->getPeerName(*pit)) + "" + " , ";
}
{
@@ -917,7 +908,8 @@ void MessagesDialog::insertMsgTxtAndFiles(QModelIndex Index)
ui.dateText-> setText(timestamp);
}
ui.toText->setText(msgTxt);
- ui.fromText->setText(" " + QString::fromStdString(rsPeers->getPeerName(msgInfo.srcId)) +"");
+ ui.fromText->setText(" " + QString::fromStdString(rsPeers->getPeerName(msgInfo.srcId)) +"");
+ ui.fromText->setToolTip(QString::fromStdString(rsPeers->getPeerName(msgInfo.srcId)) + "@" + QString::fromStdString(msgInfo.srcId));
ui.subjectText->setText(QString::fromStdWString(msgInfo.title));
ui.msgText->setHtml(QString::fromStdWString(msgInfo.msg));
diff --git a/retroshare-gui/src/gui/MessagesDialog.ui b/retroshare-gui/src/gui/MessagesDialog.ui
index 85696b53d..07709f5a6 100644
--- a/retroshare-gui/src/gui/MessagesDialog.ui
+++ b/retroshare-gui/src/gui/MessagesDialog.ui
@@ -946,6 +946,12 @@ border-image: url(:/images/closepressed.png)
Qt::Horizontal
+
+
+ 120
+ 0
+
+
120
@@ -1183,7 +1189,7 @@ p, li { white-space: pre-wrap; }
- 20
+ 2
40
@@ -1234,21 +1240,21 @@ p, li { white-space: pre-wrap; }
-
-
- 2
+
+ 0
0
0
- 12
+ 0
16777215
- 12
+ 16777215
@@ -1259,6 +1265,9 @@ p, li { white-space: pre-wrap; }
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse
+
-
@@ -1293,10 +1302,10 @@ p, li { white-space: pre-wrap; }
- -
+
-
-
+
2
0
@@ -1304,13 +1313,13 @@ p, li { white-space: pre-wrap; }
0
- 12
+ 0
16777215
- 12
+ 16777215
@@ -1327,68 +1336,6 @@ p, li { white-space: pre-wrap; }
-
-
-
-
- 0
- 0
-
-
-
-
- 60
- 12
-
-
-
-
- 16777215
- 10
-
-
-
-
- 10
- 75
- true
-
-
-
- Date:
-
-
-
- -
-
-
-
- 2
- 0
-
-
-
-
- 0
- 12
-
-
-
-
- 16777215
- 12
-
-
-
-
- 9
-
-
-
-
-
-
-
- -
@@ -1420,19 +1367,29 @@ p, li { white-space: pre-wrap; }
- -
-
-
-
- 16777215
- 22
-
-
+
-
+
9
+
+ Qt::RightToLeft
+
+
+
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+
+