mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
- Fixed fill of news feed.
- Added display of feed count in main action. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6454 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0a10092816
commit
766bd9c6ae
8 changed files with 118 additions and 11 deletions
|
@ -25,6 +25,8 @@ class RsAutoUpdatePage: public MainPage
|
|||
static void unlockAllEvents() ;
|
||||
static bool eventsLocked() ;
|
||||
|
||||
void setUpdateWhenInvisible(bool update) { mUpdateWhenInvisible = update; }
|
||||
|
||||
public slots:
|
||||
// This method updates the widget only if not locked, and if visible.
|
||||
// This is *the* method to call when on callbacks etc, to avoid locks due
|
||||
|
@ -45,6 +47,7 @@ class RsAutoUpdatePage: public MainPage
|
|||
|
||||
private:
|
||||
QTimer *_timer ;
|
||||
bool mUpdateWhenInvisible; // Update also when not visible
|
||||
|
||||
static bool _locked ;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue