From 9602f0776058dec88fe64c9d3af90899b0246484 Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 9 Feb 2009 14:09:25 +0000 Subject: [PATCH] restored PeersDialog.cpp git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1029 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/PeersDialog.cpp | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) 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)) {