summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-29 21:00:14 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-29 21:28:28 +0100
commit2d62f2d017cbec7a8f2aeb306b9bae3e695a646a (patch)
tree8ad32b511bb388a92130aa08aa19aa39ff8613e4
parent86420bbe2b74efbd3fe307e2edd298d8f5241f0d (diff)
downloadrockbox-2d62f2d017cbec7a8f2aeb306b9bae3e695a646a.tar.gz
rockbox-2d62f2d017cbec7a8f2aeb306b9bae3e695a646a.tar.bz2
rockbox-2d62f2d017cbec7a8f2aeb306b9bae3e695a646a.zip
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
-rw-r--r--rbutil/rbutilqt/base/ttsfestival.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/ttsfestival.cpp b/rbutil/rbutilqt/base/ttsfestival.cpp
index 6ed08ddacc..b50ad516c7 100644
--- a/rbutil/rbutilqt/base/ttsfestival.cpp
+++ b/rbutil/rbutilqt/base/ttsfestival.cpp
@@ -127,7 +127,7 @@ void TTSFestival::startServer()
serverProcess.waitForStarted();
/* 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);
if(serverProcess.state() == QProcess::Running)