mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-21 05:44:29 -05:00
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:
parent
02234325cc
commit
e3ae7e622c
@ -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 *))) ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user