GUI: avoid compilation issues by using the classic string-based connect instead of the one with member functions

This commit is contained in:
Jean-Francois Dockes 2018-05-15 13:55:23 +02:00
parent 8ca604a272
commit 1c95349ac7

View File

@ -317,7 +317,7 @@ static void delay(int millisecondsWait)
{
QEventLoop loop;
QTimer t;
t.connect(&t, &QTimer::timeout, &loop, &QEventLoop::quit);
t.connect(&t, SIGNAL(timeout()), &loop, SLOT(quit()));
t.start(millisecondsWait);
loop.exec();
}