diff --git a/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp b/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp index 7cbeb6e73..a7b2a4892 100644 --- a/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp +++ b/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp @@ -21,16 +21,16 @@ * */ -#include #include #include #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); diff --git a/retroshare-gui/src/gui/feeds/GxsChannelPostItem.h b/retroshare-gui/src/gui/feeds/GxsChannelPostItem.h index 830edfbed..0a56ce1c9 100644 --- a/retroshare-gui/src/gui/feeds/GxsChannelPostItem.h +++ b/retroshare-gui/src/gui/feeds/GxsChannelPostItem.h @@ -26,7 +26,6 @@ #include #include "gui/gxs/GxsFeedItem.h" -#include "ui_GxsChannelPostItem.h" #include namespace Ui { @@ -82,7 +81,7 @@ private: uint32_t mSubscribeFlags; RsGxsChannelPost mPost; - std::list mFileItems; + std::list mFileItems; /** Qt Designer generated object */ Ui::GxsChannelPostItem *ui;