restore back changes

This commit is contained in:
defnax 2020-10-06 21:38:06 +02:00
parent ae7ffc84e8
commit a866184d6d
2 changed files with 0 additions and 19 deletions

View File

@ -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

View File

@ -84,7 +84,6 @@ protected slots:
void loadComments(bool e);
void showAuthorInPeople();
void copyMessageLink();
void readToggled();
void setReadStatus(bool isNew, bool isUnread) ;
void makeUpVote() ;