mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 13:51:12 -05:00
restore back changes
This commit is contained in:
parent
ae7ffc84e8
commit
a866184d6d
@ -20,7 +20,6 @@
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QStyle>
|
||||
#include <QTextDocument>
|
||||
#include <QToolButton>
|
||||
@ -28,7 +27,6 @@
|
||||
#include "rshare.h"
|
||||
#include "BoardPostDisplayWidget.h"
|
||||
#include "PhotoView.h"
|
||||
#include "gui/RetroShareLink.h"
|
||||
#include "gui/gxs/GxsIdDetails.h"
|
||||
#include "util/misc.h"
|
||||
#include "gui/common/FilesDefs.h"
|
||||
@ -167,22 +165,6 @@ void BoardPostDisplayWidgetBase::showAuthorInPeople()
|
||||
idDialog->navigate(RsGxsId(mPost.mMeta.mAuthorId));
|
||||
}
|
||||
|
||||
void BoardPostDisplayWidgetBase::copyMessageLink()
|
||||
{
|
||||
if (mPost.mMeta.mGroupId.isNull() || mPost.mMeta.mMsgId.isNull()) {
|
||||
return;
|
||||
}
|
||||
|
||||
RetroShareLink link = RetroShareLink::createGxsMessageLink(RetroShareLink::TYPE_POSTED, mPost.mMeta.mGroupId, mPost.mMeta.mMsgId, QString::fromUtf8(mPost.mMeta.mMsgName.c_str()));
|
||||
|
||||
if (link.valid()) {
|
||||
QList<RetroShareLink> urls;
|
||||
urls.push_back(link);
|
||||
RSLinkClipboard::copyLinks(urls);
|
||||
QMessageBox::information(NULL,tr("information"),tr("The Retrohare link was copied to your clipboard.")) ;
|
||||
}
|
||||
}
|
||||
|
||||
void BoardPostDisplayWidgetBase::setup()
|
||||
{
|
||||
// show/hide things based on the view type
|
||||
|
@ -84,7 +84,6 @@ protected slots:
|
||||
|
||||
void loadComments(bool e);
|
||||
void showAuthorInPeople();
|
||||
void copyMessageLink();
|
||||
void readToggled();
|
||||
void setReadStatus(bool isNew, bool isUnread) ;
|
||||
void makeUpVote() ;
|
||||
|
Loading…
Reference in New Issue
Block a user