- 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:
thunder2 2013-06-22 00:05:02 +00:00
parent 0a10092816
commit 766bd9c6ae
8 changed files with 118 additions and 11 deletions

View file

@ -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 ;
};