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();