mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
Qt6: remove hasPendingEvents
This commit is contained in:
+3
-2
@@ -1665,11 +1665,12 @@ void MainWindow::checkUserActivity() {
|
||||
this->setEnabled(false);
|
||||
this->close();
|
||||
// This doesn't close the wallet immediately.
|
||||
do {
|
||||
// FIXME
|
||||
// do {
|
||||
QApplication::processEvents();
|
||||
// Because running it a single time is apparently not enough.
|
||||
// TODO: Qt bug? Need proper fix for this.
|
||||
} while (QApplication::hasPendingEvents());
|
||||
// } while (QApplication::hasPendingEvents());
|
||||
} else {
|
||||
m_checkUserActivity.start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user