mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added debug output to help figuring out the problem
This commit is contained in:
parent
5f15414e65
commit
3548f5eac5
@ -125,11 +125,15 @@ void CreateCircleDialog::closeEvent(QCloseEvent *e)
|
|||||||
{
|
{
|
||||||
if(mIdentitiesLoading)
|
if(mIdentitiesLoading)
|
||||||
{
|
{
|
||||||
|
std::cerr << "Close() called. Identities currently loading => not actually closing." << std::endl;
|
||||||
mCloseAfterIdentitiesLoaded = true;
|
mCloseAfterIdentitiesLoaded = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
std::cerr << "Close() called. Identities not currently loading => closing." << std::endl;
|
||||||
QDialog::closeEvent(e);
|
QDialog::closeEvent(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateCircleDialog::editExistingId(const RsGxsGroupId &circleId, const bool &clearList /*= true*/,bool readonly)
|
void CreateCircleDialog::editExistingId(const RsGxsGroupId &circleId, const bool &clearList /*= true*/,bool readonly)
|
||||||
@ -752,10 +756,14 @@ void CreateCircleDialog::loadIdentities()
|
|||||||
|
|
||||||
delete id_groups;
|
delete id_groups;
|
||||||
|
|
||||||
|
std::cerr << "Identities finished loading." << std::endl;
|
||||||
mIdentitiesLoading = false;
|
mIdentitiesLoading = false;
|
||||||
|
|
||||||
if(mCloseAfterIdentitiesLoaded)
|
if(mCloseAfterIdentitiesLoaded)
|
||||||
|
{
|
||||||
|
std::cerr << "Close() previously called, so closing now." << std::endl;
|
||||||
close();
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
}, this );
|
}, this );
|
||||||
});
|
});
|
||||||
@ -778,6 +786,8 @@ void CreateCircleDialog::fillIdentitiesList(const std::vector<RsGxsIdGroup>& id_
|
|||||||
|
|
||||||
for(const auto& idGroup:id_groups)
|
for(const auto& idGroup:id_groups)
|
||||||
{
|
{
|
||||||
|
//usleep(20*1000);
|
||||||
|
|
||||||
bool isSigned = !idGroup.mPgpId.isNull();
|
bool isSigned = !idGroup.mPgpId.isNull();
|
||||||
bool isSignedByFriendNode = isSigned && rsPeers->isPgpFriend(idGroup.mPgpId);
|
bool isSignedByFriendNode = isSigned && rsPeers->isPgpFriend(idGroup.mPgpId);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user