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