mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 13:52:43 -04:00
Merge pull request #275 from PhenomRetroShare/Fix_GenCertDialogOnMac
Fix GenCertDialog on Mac stay on.
This commit is contained in:
commit
3e4c1546c4
1 changed files with 3 additions and 1 deletions
|
@ -532,7 +532,9 @@ void GenCertDialog::genPerson()
|
|||
setCursor(Qt::WaitCursor) ;
|
||||
|
||||
QCoreApplication::processEvents();
|
||||
while(QAbstractEventDispatcher::instance()->processEvents(QEventLoop::AllEvents)) ;
|
||||
QAbstractEventDispatcher* ed = QAbstractEventDispatcher::instance();
|
||||
if (ed->hasPendingEvents())
|
||||
while(ed->processEvents(QEventLoop::AllEvents));
|
||||
|
||||
std::string email_str = "" ;
|
||||
RsAccounts::GeneratePGPCertificate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue