mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed token queue from PostedCreatePostDialog
This commit is contained in:
parent
dc3c3488df
commit
aa05348d55
@ -28,7 +28,6 @@
|
||||
#include "ui_PostedCreatePostDialog.h"
|
||||
|
||||
#include "util/misc.h"
|
||||
#include "util/TokenQueue.h"
|
||||
#include "util/RichTextEdit.h"
|
||||
#include "gui/feeds/SubFileItem.h"
|
||||
#include "util/rsdir.h"
|
||||
@ -45,7 +44,7 @@
|
||||
#define VIEW_IMAGE 2
|
||||
#define VIEW_LINK 3
|
||||
|
||||
PostedCreatePostDialog::PostedCreatePostDialog(TokenQueue* tokenQ, RsPosted *posted, const RsGxsGroupId& grpId, QWidget *parent):
|
||||
PostedCreatePostDialog::PostedCreatePostDialog(RsPosted *posted, const RsGxsGroupId& grpId, QWidget *parent):
|
||||
QDialog(parent, Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowMinimizeButtonHint | Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint),
|
||||
mPosted(posted), mGrpId(grpId),
|
||||
ui(new Ui::PostedCreatePostDialog)
|
||||
|
@ -26,8 +26,6 @@
|
||||
#include "retroshare/rsposted.h"
|
||||
#include "util/RichTextEdit.h"
|
||||
|
||||
class TokenQueue;
|
||||
|
||||
namespace Ui {
|
||||
class PostedCreatePostDialog;
|
||||
}
|
||||
@ -41,7 +39,7 @@ public:
|
||||
* @param tokenQ parent callee token
|
||||
* @param posted
|
||||
*/
|
||||
explicit PostedCreatePostDialog(TokenQueue* tokenQ, RsPosted* posted, const RsGxsGroupId& grpId, QWidget *parent = 0);
|
||||
explicit PostedCreatePostDialog(RsPosted* posted, const RsGxsGroupId& grpId, QWidget *parent = 0);
|
||||
~PostedCreatePostDialog();
|
||||
|
||||
private:
|
||||
|
@ -250,7 +250,7 @@ void PostedListWidget::newPost()
|
||||
return;
|
||||
}
|
||||
|
||||
PostedCreatePostDialog *cp = new PostedCreatePostDialog(mTokenQueue, rsPosted, groupId(), this);
|
||||
PostedCreatePostDialog *cp = new PostedCreatePostDialog(rsPosted, groupId(), this);
|
||||
cp->show();
|
||||
|
||||
/* window will destroy itself! */
|
||||
|
Loading…
Reference in New Issue
Block a user