mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
removed token queue from PostedCreatePostDialog
This commit is contained in:
parent
dc3c3488df
commit
aa05348d55
3 changed files with 3 additions and 6 deletions
|
@ -28,7 +28,6 @@
|
||||||
#include "ui_PostedCreatePostDialog.h"
|
#include "ui_PostedCreatePostDialog.h"
|
||||||
|
|
||||||
#include "util/misc.h"
|
#include "util/misc.h"
|
||||||
#include "util/TokenQueue.h"
|
|
||||||
#include "util/RichTextEdit.h"
|
#include "util/RichTextEdit.h"
|
||||||
#include "gui/feeds/SubFileItem.h"
|
#include "gui/feeds/SubFileItem.h"
|
||||||
#include "util/rsdir.h"
|
#include "util/rsdir.h"
|
||||||
|
@ -45,7 +44,7 @@
|
||||||
#define VIEW_IMAGE 2
|
#define VIEW_IMAGE 2
|
||||||
#define VIEW_LINK 3
|
#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),
|
QDialog(parent, Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowMinimizeButtonHint | Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint),
|
||||||
mPosted(posted), mGrpId(grpId),
|
mPosted(posted), mGrpId(grpId),
|
||||||
ui(new Ui::PostedCreatePostDialog)
|
ui(new Ui::PostedCreatePostDialog)
|
||||||
|
|
|
@ -26,8 +26,6 @@
|
||||||
#include "retroshare/rsposted.h"
|
#include "retroshare/rsposted.h"
|
||||||
#include "util/RichTextEdit.h"
|
#include "util/RichTextEdit.h"
|
||||||
|
|
||||||
class TokenQueue;
|
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class PostedCreatePostDialog;
|
class PostedCreatePostDialog;
|
||||||
}
|
}
|
||||||
|
@ -41,7 +39,7 @@ public:
|
||||||
* @param tokenQ parent callee token
|
* @param tokenQ parent callee token
|
||||||
* @param posted
|
* @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();
|
~PostedCreatePostDialog();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -250,7 +250,7 @@ void PostedListWidget::newPost()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
PostedCreatePostDialog *cp = new PostedCreatePostDialog(mTokenQueue, rsPosted, groupId(), this);
|
PostedCreatePostDialog *cp = new PostedCreatePostDialog(rsPosted, groupId(), this);
|
||||||
cp->show();
|
cp->show();
|
||||||
|
|
||||||
/* window will destroy itself! */
|
/* window will destroy itself! */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue