mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
avoid cast that isn't always available
This commit is contained in:
parent
bf7da71eaf
commit
4f672f93d2
1 changed files with 1 additions and 1 deletions
|
@ -1076,7 +1076,7 @@ void ScriptEngine::run() {
|
|||
QTimer timer;
|
||||
timer.setSingleShot(true);
|
||||
connect(&timer, SIGNAL(timeout()), &loop, SLOT(quit()));
|
||||
timer.start(sleepFor);
|
||||
timer.start(sleepFor.count());
|
||||
loop.exec();
|
||||
} else {
|
||||
QCoreApplication::processEvents();
|
||||
|
|
Loading…
Reference in a new issue