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:
thunder2 2014-05-05 23:34:28 +00:00
parent 471f4357ba
commit d2bd938e82
2 changed files with 4 additions and 5 deletions

View File

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

View File

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