mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
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:
parent
d31bc2055f
commit
c35a48feb7
3 changed files with 21 additions and 8 deletions
|
@ -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() ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue