From c8c833b3d6e8e9a460d93f478484dbfb72fd93e5 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Wed, 23 Jul 2025 00:51:03 +0200 Subject: [PATCH] Removed deprecated QAbstractEventDispatcher::hasPendingEvents for Q 6 --- retroshare-gui/src/gui/GenCertDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retroshare-gui/src/gui/GenCertDialog.cpp b/retroshare-gui/src/gui/GenCertDialog.cpp index 0f318049d..7f836be89 100644 --- a/retroshare-gui/src/gui/GenCertDialog.cpp +++ b/retroshare-gui/src/gui/GenCertDialog.cpp @@ -613,7 +613,9 @@ void GenCertDialog::genPerson() std::cout << "Waiting ed->processEvents()" << std::endl; #endif time_t waitEnd = time(NULL) + 10;//Wait no more than 10 sec to processEvents +#if QT_VERSION < QT_VERSION_CHECK (6, 0, 0) if (ed->hasPendingEvents()) +#endif while(ed->processEvents(QEventLoop::AllEvents) && (time(NULL) < waitEnd)); std::string email_str = "" ;