mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 17:07:17 -05:00
Code maintenance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7336 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
471f4357ba
commit
d2bd938e82
@ -21,16 +21,16 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
|
|
||||||
#include "rshare.h"
|
#include "rshare.h"
|
||||||
#include "GxsChannelPostItem.h"
|
#include "GxsChannelPostItem.h"
|
||||||
|
#include "ui_GxsChannelPostItem.h"
|
||||||
|
|
||||||
#include "FeedHolder.h"
|
#include "FeedHolder.h"
|
||||||
#include "SubFileItem.h"
|
#include "SubFileItem.h"
|
||||||
#include "gui/notifyqt.h"
|
//#include "gui/notifyqt.h"
|
||||||
#include "util/misc.h"
|
#include "util/misc.h"
|
||||||
#include "gui/RetroShareLink.h"
|
#include "gui/RetroShareLink.h"
|
||||||
#include "util/HandleRichText.h"
|
#include "util/HandleRichText.h"
|
||||||
@ -323,7 +323,7 @@ void GxsChannelPostItem::loadPost(const RsGxsChannelPost &post)
|
|||||||
|
|
||||||
/* check if the file is a media file */
|
/* check if the file is a media file */
|
||||||
if (!misc::isPreviewable(QFileInfo(QString::fromUtf8(it->mName.c_str())).suffix()))
|
if (!misc::isPreviewable(QFileInfo(QString::fromUtf8(it->mName.c_str())).suffix()))
|
||||||
fi->mediatype();
|
fi->mediatype();
|
||||||
|
|
||||||
QLayout *layout = ui->expandFrame->layout();
|
QLayout *layout = ui->expandFrame->layout();
|
||||||
layout->addWidget(fi);
|
layout->addWidget(fi);
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
|
|
||||||
#include <retroshare/rsgxschannels.h>
|
#include <retroshare/rsgxschannels.h>
|
||||||
#include "gui/gxs/GxsFeedItem.h"
|
#include "gui/gxs/GxsFeedItem.h"
|
||||||
#include "ui_GxsChannelPostItem.h"
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
@ -82,7 +81,7 @@ private:
|
|||||||
uint32_t mSubscribeFlags;
|
uint32_t mSubscribeFlags;
|
||||||
RsGxsChannelPost mPost;
|
RsGxsChannelPost mPost;
|
||||||
|
|
||||||
std::list<SubFileItem *> mFileItems;
|
std::list<SubFileItem*> mFileItems;
|
||||||
|
|
||||||
/** Qt Designer generated object */
|
/** Qt Designer generated object */
|
||||||
Ui::GxsChannelPostItem *ui;
|
Ui::GxsChannelPostItem *ui;
|
||||||
|
Loading…
Reference in New Issue
Block a user