mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-11 06:05:21 -05:00
rbutil: More Qt6 compatibility.
Replace QProcess::pid() which has been replaced with QProcess::processId() starting with Qt5.3 and removed from Qt6. Change-Id: I9b2d38f8e490e2e4c0afb5cbb409f6a17a98efbd
This commit is contained in:
parent
86420bbe2b
commit
2d62f2d017
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ void TTSFestival::startServer()
|
||||||
serverProcess.waitForStarted();
|
serverProcess.waitForStarted();
|
||||||
|
|
||||||
/* A friendlier version of a spinlock */
|
/* A friendlier version of a spinlock */
|
||||||
while (serverProcess.pid() == 0 && serverProcess.state() != QProcess::Running)
|
while (serverProcess.processId() == 0 && serverProcess.state() != QProcess::Running)
|
||||||
QCoreApplication::processEvents(QEventLoop::AllEvents, 50);
|
QCoreApplication::processEvents(QEventLoop::AllEvents, 50);
|
||||||
|
|
||||||
if(serverProcess.state() == QProcess::Running)
|
if(serverProcess.state() == QProcess::Running)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue