Teaked the TrustView and NetworkView so that they only update when visible. Doing so, the CPU overload is only present when strictly needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-08-29 11:25:06 +00:00
parent d31bc2055f
commit c35a48feb7
3 changed files with 21 additions and 8 deletions

View file

@ -1,6 +1,7 @@
#include "ui_TrustView.h"
class QWheelEvent ;
class QShowEvent ;
class TrustView: public QWidget, public Ui::TrustView
{
@ -11,6 +12,7 @@ class TrustView: public QWidget, public Ui::TrustView
protected:
virtual void wheelEvent(QWheelEvent *) ;
virtual void showEvent(QShowEvent *) ;
public slots:
void update() ;