fixed to get compile unfinished sources again

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2113 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-22 21:24:25 +00:00
parent acca7d5c90
commit 9182091917
3 changed files with 10 additions and 6 deletions

View File

@ -142,19 +142,19 @@ void PeersFeed::updatePeers()
{ {
rsPeers->getFriendList(peers); rsPeers->getFriendList(peers);
} }
else if (mMode == PEERSFEED_MODE_ONLINE) if(mMode == PEERSFEED_MODE_ONLINE)
{ {
rsPeers->getOnlineList(peers); rsPeers->getOnlineList(peers);
} }
else if (mMode == PEERSFEED_MODE_ALL) /*else if (mMode == PEERSFEED_MODE_ALL)
{ {
rsPeers->getOthersList(peers); rsPeers->getOthersList(peers);
} }
else else
{ {
rsPeers->getOthersList(peers); rsPeers->getOthersList(peers);*/
/* now remove friends */ /* now remove friends */
for(it = peers.begin(); it != peers.end(); ) /*for(it = peers.begin(); it != peers.end(); )
{ {
if (rsPeers->isFriend(*it)) if (rsPeers->isFriend(*it))
{ {
@ -165,7 +165,7 @@ void PeersFeed::updatePeers()
it++; it++;
} }
} }
} }*/
for(it = peers.begin(); it != peers.end(); it++) for(it = peers.begin(); it != peers.end(); it++)
{ {

View File

@ -22,6 +22,7 @@
#include "rshare.h" #include "rshare.h"
#include "StatisticDialog.h" #include "StatisticDialog.h"
#include <control/bandwidthevent.h> #include <control/bandwidthevent.h>
#include "rsiface/rsiface.h" #include "rsiface/rsiface.h"
#include <QTime> #include <QTime>

View File

@ -28,9 +28,12 @@
#include <QTimer> #include <QTimer>
#include "gui/mainpage.h" #include "gui/mainpage.h"
#include "ui_StatisticDialog.h"
#include "gui/linetypes.h" #include "gui/linetypes.h"
#include "gui/settings/rsharesettings.h"
#include "ui_StatisticDialog.h"
/** Redraw graph every 1000ms **/ /** Redraw graph every 1000ms **/
#define REFRESH_RATE 1000 #define REFRESH_RATE 1000