]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
Qt6: remove hasPendingEvents
authortobtoht <thotbot@protonmail.com>
Tue, 24 May 2022 15:53:45 +0000 (17:53 +0200)
committertobtoht <thotbot@protonmail.com>
Tue, 24 May 2022 15:53:45 +0000 (17:53 +0200)
src/MainWindow.cpp

index c0a010bb0cd572bd04df77e13613dbb7d1f582c3..35b6b00c30ad6df5b1f6ac385f5bce48caa2eb20 100644 (file)
@@ -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();
         }