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
This commit is contained in:
csoler 2010-01-16 23:08:14 +00:00
parent 02234325cc
commit e3ae7e622c
2 changed files with 2 additions and 3 deletions

View File

@ -329,7 +329,7 @@ void CreateForumMsg::addAttachment(std::string filePath) {
if (file->getState() == SFI_STATE_LOCAL) { if (file->getState() == SFI_STATE_LOCAL) {
fileHashingFinished(file); fileHashingFinished(file);
} else { } else {
QObject::connect(file,SIGNAL(fileFinished(SubFileItem *)), SLOT(fileHashingFinished(SubFileItem *))) ; QObject::connect(file,SIGNAL(fileFinished(SubFileItem *)),this, SLOT(fileHashingFinished(SubFileItem *))) ;
} }
} }

View File

@ -41,10 +41,9 @@ public:
void loadEmoticonsForums(); void loadEmoticonsForums();
void fileHashingFinished(SubFileItem* file);
private slots: private slots:
void fileHashingFinished(SubFileItem* file);
/* actions to take.... */ /* actions to take.... */
void createMsg(); void createMsg();
void cancelMsg(); void cancelMsg();