GUI: avoid compilation issues by using the classic string-based connect instead of the one with member functions
This commit is contained in:
parent
8ca604a272
commit
1c95349ac7
@ -317,7 +317,7 @@ static void delay(int millisecondsWait)
|
|||||||
{
|
{
|
||||||
QEventLoop loop;
|
QEventLoop loop;
|
||||||
QTimer t;
|
QTimer t;
|
||||||
t.connect(&t, &QTimer::timeout, &loop, &QEventLoop::quit);
|
t.connect(&t, SIGNAL(timeout()), &loop, SLOT(quit()));
|
||||||
t.start(millisecondsWait);
|
t.start(millisecondsWait);
|
||||||
loop.exec();
|
loop.exec();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user