mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 08:59:50 -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 <QFileInfo>
|
||||
|
||||
#include "rshare.h"
|
||||
#include "GxsChannelPostItem.h"
|
||||
#include "ui_GxsChannelPostItem.h"
|
||||
|
||||
#include "FeedHolder.h"
|
||||
#include "SubFileItem.h"
|
||||
#include "gui/notifyqt.h"
|
||||
//#include "gui/notifyqt.h"
|
||||
#include "util/misc.h"
|
||||
#include "gui/RetroShareLink.h"
|
||||
#include "util/HandleRichText.h"
|
||||
@ -323,7 +323,7 @@ void GxsChannelPostItem::loadPost(const RsGxsChannelPost &post)
|
||||
|
||||
/* check if the file is a media file */
|
||||
if (!misc::isPreviewable(QFileInfo(QString::fromUtf8(it->mName.c_str())).suffix()))
|
||||
fi->mediatype();
|
||||
fi->mediatype();
|
||||
|
||||
QLayout *layout = ui->expandFrame->layout();
|
||||
layout->addWidget(fi);
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include <retroshare/rsgxschannels.h>
|
||||
#include "gui/gxs/GxsFeedItem.h"
|
||||
#include "ui_GxsChannelPostItem.h"
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Ui {
|
||||
@ -82,7 +81,7 @@ private:
|
||||
uint32_t mSubscribeFlags;
|
||||
RsGxsChannelPost mPost;
|
||||
|
||||
std::list<SubFileItem *> mFileItems;
|
||||
std::list<SubFileItem*> mFileItems;
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::GxsChannelPostItem *ui;
|
||||
|
Loading…
Reference in New Issue
Block a user