mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #275 from PhenomRetroShare/Fix_GenCertDialogOnMac
Fix GenCertDialog on Mac stay on.
This commit is contained in:
commit
3e4c1546c4
@ -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…
Reference in New Issue
Block a user