From f4569c57bd08757309c03ac9e3b9159b94b9ba4a Mon Sep 17 00:00:00 2001 From: thunder2 Date: Tue, 12 Mar 2013 00:07:20 +0000 Subject: [PATCH] Fixed compile on Windows. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6214 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/feeds/ChanNewItem.cpp | 8 +------- retroshare-gui/src/gui/feeds/ChanNewItem.h | 1 - retroshare-gui/src/gui/feeds/ForumNewItem.cpp | 7 +------ retroshare-gui/src/gui/feeds/ForumNewItem.h | 1 - 4 files changed, 2 insertions(+), 15 deletions(-) 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 */