mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 17:37:12 -05:00
Merge pull request #2205 from defnax/photoshare-fixes
photoshare compile fixes
This commit is contained in:
commit
c184e7b7ba
@ -22,7 +22,9 @@
|
||||
|
||||
#include "AlbumDialog.h"
|
||||
#include "gui/gxs/GxsIdDetails.h"
|
||||
#include "gui/common/FilesDefs.h"
|
||||
#include "ui_AlbumDialog.h"
|
||||
|
||||
#include "retroshare/rsgxsflags.h"
|
||||
|
||||
AlbumDialog::AlbumDialog(const RsPhotoAlbum& album, TokenQueue* photoQueue, RsPhoto* rs_Photo, QWidget *parent) :
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "AlbumGroupDialog.h"
|
||||
#include "AlbumExtra.h"
|
||||
#include "gui/gxs/GxsIdDetails.h"
|
||||
#include "gui/common/FilesDefs.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
#include "AlbumItem.h"
|
||||
#include "ui_AlbumItem.h"
|
||||
#include "gui/common/FilesDefs.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <QMouseEvent>
|
||||
|
@ -96,9 +96,10 @@ void PhotoDialog::toggleComments()
|
||||
if (mCommentsCreated) {
|
||||
ui->frame_comments->setVisible(true);
|
||||
} else {
|
||||
RsGxsId current_author;
|
||||
// create CommentDialog.
|
||||
RsGxsCommentService *commentService = dynamic_cast<RsGxsCommentService *>(mRsPhoto);
|
||||
GxsCommentDialog *commentDialog = new GxsCommentDialog(this, mRsPhoto->getTokenService(), commentService);
|
||||
GxsCommentDialog *commentDialog = new GxsCommentDialog(this,current_author, mRsPhoto->getTokenService(), commentService);
|
||||
|
||||
// TODO: Need to fetch all msg versions, otherwise - won't get all the comments.
|
||||
// For the moment - use current msgid.
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#include "PhotoItem.h"
|
||||
#include "ui_PhotoItem.h"
|
||||
#include "gui/common/FilesDefs.h"
|
||||
|
||||
PhotoItem::PhotoItem(PhotoShareItemHolder *holder, const RsPhotoPhoto &photo, QWidget *parent):
|
||||
QWidget(parent),
|
||||
|
Loading…
Reference in New Issue
Block a user