diff --git a/retroshare-gui/src/gui/feeds/ChanNewItem.cpp b/retroshare-gui/src/gui/feeds/ChanNewItem.cpp index 96fef45d8..bc5dad292 100644 --- a/retroshare-gui/src/gui/feeds/ChanNewItem.cpp +++ b/retroshare-gui/src/gui/feeds/ChanNewItem.cpp @@ -48,7 +48,7 @@ ChanNewItem::ChanNewItem(FeedHolder *parent, uint32_t feedId, const std::string /* specific ones */ connect( subscribeButton, SIGNAL( clicked( void ) ), this, SLOT( subscribeChannel ( void ) ) ); - small(); + expandFrame->hide(); updateItemStatic(); updateItem(); } @@ -132,12 +132,6 @@ void ChanNewItem::updateItem() } - -void ChanNewItem::small() -{ - expandFrame->hide(); -} - void ChanNewItem::toggle() { mParent->lockLayout(this, true); diff --git a/retroshare-gui/src/gui/feeds/ChanNewItem.h b/retroshare-gui/src/gui/feeds/ChanNewItem.h index a265e02f4..cda5b1088 100644 --- a/retroshare-gui/src/gui/feeds/ChanNewItem.h +++ b/retroshare-gui/src/gui/feeds/ChanNewItem.h @@ -36,7 +36,6 @@ public: ChanNewItem(FeedHolder *parent, uint32_t feedId, const std::string &chanId, bool isHome, bool isNew); void updateItemStatic(); - void small(); private slots: /* default stuff */ diff --git a/retroshare-gui/src/gui/feeds/ForumNewItem.cpp b/retroshare-gui/src/gui/feeds/ForumNewItem.cpp index 8168b392b..87534b34a 100644 --- a/retroshare-gui/src/gui/feeds/ForumNewItem.cpp +++ b/retroshare-gui/src/gui/feeds/ForumNewItem.cpp @@ -49,7 +49,7 @@ ForumNewItem::ForumNewItem(FeedHolder *parent, uint32_t feedId, const std::strin // To Cheeky to post on a brand new forum.... connect( postButton, SIGNAL( clicked( void ) ), this, SLOT( postToForum ( void ) ) ); - small(); + expandFrame->hide(); updateItemStatic(); updateItem(); } @@ -123,11 +123,6 @@ void ForumNewItem::updateItem() } -void ForumNewItem::small() -{ - expandFrame->hide(); -} - void ForumNewItem::toggle() { mParent->lockLayout(this, true); diff --git a/retroshare-gui/src/gui/feeds/ForumNewItem.h b/retroshare-gui/src/gui/feeds/ForumNewItem.h index d349ab122..88e64c20e 100644 --- a/retroshare-gui/src/gui/feeds/ForumNewItem.h +++ b/retroshare-gui/src/gui/feeds/ForumNewItem.h @@ -36,7 +36,6 @@ public: ForumNewItem(FeedHolder *parent, uint32_t feedId, const std::string &forumId, bool isHome, bool isNew); void updateItemStatic(); - void small(); private slots: /* default stuff */