diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index 0b678d198..ccd3bee00 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -336,7 +336,11 @@ void PeersDialog::insertPeers() // CsoLer: I uncommented the color because it's really confortable // to be able to see at some distance that people are connected. // The blue/gray icons need a close look indeed. - item -> setBackground(i,QBrush(Qt::green)); + //item -> setBackground(i,QBrush(Qt::green)) + item -> setTextColor(i,(Qt::darkBlue)); + QFont font ; + font.setBold(true); + item -> setFont(i,font); item -> setIcon(0,(QIcon(IMAGE_ONLINE))); } } @@ -992,10 +996,10 @@ void PeersDialog::displayInfoChatMenu(const QPoint& pos) void PeersDialog::loadEmoticonsgroupchat() { QString sm_codes; - #if defined(Q_OS_WIN32) - QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs"); - #else - QFile sm_file(QString(":/emoticons/emotes.acs")); + #if defined(Q_OS_WIN32) + QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs"); + #else + QFile sm_file(QString(":/emoticons/emotes.acs")); #endif if(!sm_file.open(QIODevice::ReadOnly)) { @@ -1043,10 +1047,10 @@ void PeersDialog::loadEmoticonsgroupchat() } i++; if(!smcode.isEmpty() && !smfile.isEmpty()) - #if defined(Q_OS_WIN32) + #if defined(Q_OS_WIN32) smileys.insert(smcode, smfile); - #else - smileys.insert(smcode, ":/"+smfile); + #else + smileys.insert(smcode, ":/"+smfile); #endif } }