Remove waitUntilWorkIsDone as this can cause eternal loops

This commit is contained in:
Magne Sjaastad
2024-11-05 14:12:26 +01:00
parent 8ff8264d11
commit 1cbdbfa7df
4 changed files with 0 additions and 19 deletions

View File

@@ -80,17 +80,3 @@ void RiaScheduler::startTimer( int msecs )
m_updateTimer->start( msecs );
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RiaScheduler::waitUntilWorkIsDone()
{
if ( m_updateTimer )
{
while ( m_updateTimer->isActive() )
{
QCoreApplication::processEvents();
}
}
}