From 5d8e5d4905775140d1b4563415d3d6aba1ce90aa Mon Sep 17 00:00:00 2001 From: defnax Date: Wed, 26 Mar 2008 01:16:13 +0000 Subject: [PATCH] added for readed not readed message a icon git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@420 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/MessagesDialog.cpp | 2 ++ retroshare-gui/src/gui/images.qrc | 1 + 2 files changed, 3 insertions(+) diff --git a/retroshare-gui/src/gui/MessagesDialog.cpp b/retroshare-gui/src/gui/MessagesDialog.cpp index b14edab60..b12433b5b 100644 --- a/retroshare-gui/src/gui/MessagesDialog.cpp +++ b/retroshare-gui/src/gui/MessagesDialog.cpp @@ -373,6 +373,7 @@ void MessagesDialog::insertMessages() // Subject item -> setText(2, QString::fromStdWString(it->title)); + item -> setIcon(2, (QIcon(":/images/message-mail-read.png"))); // No of Files. { @@ -395,6 +396,7 @@ void MessagesDialog::insertMessages() QFont qf = item->font(i); qf.setBold(true); item->setFont(i, qf); + item -> setIcon(2, (QIcon(":/images/message-mail.png"))); //std::cerr << "Setting Item BOLD!" << std::endl; } diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index 01799dd03..8e63b6c4d 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -140,6 +140,7 @@ images/mail_reply.png images/mail_send.png images/message-mail.png + images/message-mail-read.pngm images/message-news.png images/message.png images/messenger.png