From e3ae7e622cd54b3b4dd8663730846a24ca848d30 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 16 Jan 2010 23:08:14 +0000 Subject: [PATCH] fixed up file attachement to forum msgs git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2058 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/forums/CreateForumMsg.cpp | 2 +- retroshare-gui/src/gui/forums/CreateForumMsg.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/forums/CreateForumMsg.cpp b/retroshare-gui/src/gui/forums/CreateForumMsg.cpp index ed04bd03d..fa7ccd57e 100644 --- a/retroshare-gui/src/gui/forums/CreateForumMsg.cpp +++ b/retroshare-gui/src/gui/forums/CreateForumMsg.cpp @@ -329,7 +329,7 @@ void CreateForumMsg::addAttachment(std::string filePath) { if (file->getState() == SFI_STATE_LOCAL) { fileHashingFinished(file); } else { - QObject::connect(file,SIGNAL(fileFinished(SubFileItem *)), SLOT(fileHashingFinished(SubFileItem *))) ; + QObject::connect(file,SIGNAL(fileFinished(SubFileItem *)),this, SLOT(fileHashingFinished(SubFileItem *))) ; } } diff --git a/retroshare-gui/src/gui/forums/CreateForumMsg.h b/retroshare-gui/src/gui/forums/CreateForumMsg.h index fa91ef5f7..b0309ceb4 100644 --- a/retroshare-gui/src/gui/forums/CreateForumMsg.h +++ b/retroshare-gui/src/gui/forums/CreateForumMsg.h @@ -41,10 +41,9 @@ public: void loadEmoticonsForums(); - void fileHashingFinished(SubFileItem* file); - private slots: + void fileHashingFinished(SubFileItem* file); /* actions to take.... */ void createMsg(); void cancelMsg();