mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 21:12:31 -04:00
added eventsLocked() protection to UpdateGUI() timer callback
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6472 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f78e5da41e
commit
12e228eba6
1 changed files with 3 additions and 0 deletions
|
@ -738,6 +738,9 @@ void NotifyQt::enable()
|
|||
|
||||
void NotifyQt::UpdateGUI()
|
||||
{
|
||||
if(RsAutoUpdatePage::eventsLocked())
|
||||
return ;
|
||||
|
||||
{
|
||||
QMutexLocker m(&_mutex) ;
|
||||
if(!_enabled)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue