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;
|
||||
QTimer t;
|
||||
t.connect(&t, &QTimer::timeout, &loop, &QEventLoop::quit);
|
||||
t.connect(&t, SIGNAL(timeout()), &loop, SLOT(quit()));
|
||||
t.start(millisecondsWait);
|
||||
loop.exec();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user