diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index b34b2ea4c..dc344b976 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -123,13 +123,7 @@ PeersDialog::PeersDialog(QWidget *parent) loadEmoticonsgroupchat(); - connect(ui.toolButtonchat, SIGNAL(clicked()), this, SLOT(chatfriend())); - connect(ui.toolButtonmessage, SIGNAL(clicked()), this, SLOT(msgfriend())); - connect(ui.toolButtondetails, SIGNAL(clicked()), this, SLOT(connectfriend())); - connect(ui.toolButtonconnect, SIGNAL(clicked()), this, SLOT(configurefriend())); - connect(ui.toolButtonexport, SIGNAL(clicked()), this, SLOT(exportfriend())); - connect(ui.toolButtonremove, SIGNAL(clicked()), this, SLOT(removefriend())); - + //setWindowIcon(QIcon(QString(":/images/rstray3.png"))); connect(ui.lineEdit, SIGNAL(textChanged ( ) ), this, SLOT(checkChat( ) )); connect(ui.Sendbtn, SIGNAL(clicked()), this, SLOT(sendMsg())); @@ -1002,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(":/smileys/emotes.acs")); + #if defined(Q_OS_WIN32) + QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs"); + #else + QFile sm_file(QString(":/smileys/emotes.acs")); #endif if(!sm_file.open(QIODevice::ReadOnly)) {