From 871cf4994e077e5a36b978381ac130b0dbb2915a Mon Sep 17 00:00:00 2001 From: electron128 Date: Wed, 3 Jun 2015 07:32:20 +0000 Subject: [PATCH] hide voting buttons in channels (backend is missing) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8348 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- TODO.txt | 1 - retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO.txt b/TODO.txt index 76edeac44..de5455a57 100644 --- a/TODO.txt +++ b/TODO.txt @@ -10,7 +10,6 @@ Legend: To be done -9999 [ ] make vote button in channels work, or hide it (problem is: there is no selector for the voter id) 0000 [ ] merge the various help systems. there's 3 of them: (1) help buttons on most tabs that pop a flat panel with some info; (2) help wizard accessible from the "!" button in friends details->Trust; (3) 'getting started tab' diff --git a/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp b/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp index a3c399753..2a62d1334 100644 --- a/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp +++ b/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp @@ -125,6 +125,9 @@ void GxsChannelPostItem::setup() connect(ui->readButton, SIGNAL(toggled(bool)), this, SLOT(readToggled(bool))); + // hide voting buttons, backend is not implemented yet + ui->voteUpButton->hide(); + ui->voteDownButton->hide(); //connect(ui-> voteUpButton, SIGNAL(clicked()), this, SLOT(makeUpVote())); //connect(ui->voteDownButton, SIGNAL(clicked()), this, SLOT(makeDownVote()));