Move initial auto-type timeout to plugins.

This commit is contained in:
Florian Geyer 2012-11-02 15:33:39 +01:00
parent 9144765d56
commit bd90ba9326
8 changed files with 18 additions and 6 deletions

View file

@ -178,7 +178,11 @@ void sleep(int ms)
void wait(int ms)
{
Q_ASSERT(ms > 0);
Q_ASSERT(ms >= 0);
if (ms == 0) {
return;
}
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
QElapsedTimer timer;