Qt6: fix possible build failure with Qt 6.5

Forum thread: https://forum.freecad.org/viewtopic.php?p=692199#p692199
This commit is contained in:
wmayer
2023-07-10 22:28:43 +02:00
committed by Chris Hennes
parent 713bc349a5
commit 141b2ecf0a
6 changed files with 10 additions and 23 deletions

View File

@@ -1491,7 +1491,7 @@ void MainWindow::updateActions(bool delay)
// the whole application in a weird state
if (d->activityTimer->thread() != QThread::currentThread()) {
QMetaObject::invokeMethod(d->activityTimer, "start", Qt::QueuedConnection,
QGenericReturnArgument(), Q_ARG(int, 150));
Q_ARG(int, 150));
}
else {
d->activityTimer->start(150);