mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
Added one more check of RsAutoUpdatePage::eventsLocked to GxsIdDetails::process
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
67c5ef9c8a
commit
a967405c84
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ bool GxsIdDetails::process(const RsGxsId &id, GxsIdDetailsCallbackFunction callb
|
||||||
// the GUI thread, which is not allowed by Qt => some avatars fail to load.
|
// the GUI thread, which is not allowed by Qt => some avatars fail to load.
|
||||||
|
|
||||||
bool isGuiThread = (QThread::currentThread() == qApp->thread());
|
bool isGuiThread = (QThread::currentThread() == qApp->thread());
|
||||||
if (isGuiThread && rsIdentity && rsIdentity->getIdDetails(id, details)) {
|
if (isGuiThread && !RsAutoUpdatePage::eventsLocked() && rsIdentity && rsIdentity->getIdDetails(id, details)) {
|
||||||
callback(GXS_ID_DETAILS_TYPE_DONE, details, object, data);
|
callback(GXS_ID_DETAILS_TYPE_DONE, details, object, data);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue