diff --git a/retroshare-gui/src/gui/unfinished/PeersFeed.cpp b/retroshare-gui/src/gui/unfinished/PeersFeed.cpp index c6c927be1..6c218a8f4 100644 --- a/retroshare-gui/src/gui/unfinished/PeersFeed.cpp +++ b/retroshare-gui/src/gui/unfinished/PeersFeed.cpp @@ -142,19 +142,19 @@ void PeersFeed::updatePeers() { rsPeers->getFriendList(peers); } - else if (mMode == PEERSFEED_MODE_ONLINE) + if(mMode == PEERSFEED_MODE_ONLINE) { rsPeers->getOnlineList(peers); } - else if (mMode == PEERSFEED_MODE_ALL) + /*else if (mMode == PEERSFEED_MODE_ALL) { rsPeers->getOthersList(peers); } else { - rsPeers->getOthersList(peers); + rsPeers->getOthersList(peers);*/ /* now remove friends */ - for(it = peers.begin(); it != peers.end(); ) + /*for(it = peers.begin(); it != peers.end(); ) { if (rsPeers->isFriend(*it)) { @@ -165,7 +165,7 @@ void PeersFeed::updatePeers() it++; } } - } + }*/ for(it = peers.begin(); it != peers.end(); it++) { diff --git a/retroshare-gui/src/gui/unfinished/StatisticDialog.cpp b/retroshare-gui/src/gui/unfinished/StatisticDialog.cpp index e796aec7f..3bf9dca3d 100644 --- a/retroshare-gui/src/gui/unfinished/StatisticDialog.cpp +++ b/retroshare-gui/src/gui/unfinished/StatisticDialog.cpp @@ -22,6 +22,7 @@ #include "rshare.h" #include "StatisticDialog.h" #include + #include "rsiface/rsiface.h" #include diff --git a/retroshare-gui/src/gui/unfinished/StatisticDialog.h b/retroshare-gui/src/gui/unfinished/StatisticDialog.h index 2e48f52d5..67552d203 100644 --- a/retroshare-gui/src/gui/unfinished/StatisticDialog.h +++ b/retroshare-gui/src/gui/unfinished/StatisticDialog.h @@ -28,9 +28,12 @@ #include #include "gui/mainpage.h" -#include "ui_StatisticDialog.h" #include "gui/linetypes.h" +#include "gui/settings/rsharesettings.h" + +#include "ui_StatisticDialog.h" + /** Redraw graph every 1000ms **/ #define REFRESH_RATE 1000