mirror of
https://github.com/feather-wallet/feather.git
synced 2025-03-12 09:37:47 +00:00
Qt6: remove hasPendingEvents
This commit is contained in:
parent
db331ab9b2
commit
d73ea2b54d
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue