mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 14:39:34 -05:00
restored PeersDialog.cpp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bf48cc83aa
commit
9602f07760
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user