summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-06-22 17:59:41 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-06-22 17:59:41 +0200
commit55ddcaf0264b0f3f446c6797f85555b039349231 (patch)
treebdb62e421a3944378eeb2900a811c287ee213800
parent2baaf84186f82941558df24cc12de25befed4183 (diff)
downloadqutebrowser-55ddcaf0264b0f3f446c6797f85555b039349231.tar.gz
qutebrowser-55ddcaf0264b0f3f446c6797f85555b039349231.zip
Avoid deprecated QProcess.pid()
processId() got introduced in Qt 5.3 FIXME: pick to master?
-rw-r--r--tests/end2end/fixtures/notificationserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end2end/fixtures/notificationserver.py b/tests/end2end/fixtures/notificationserver.py
index 81c672dcc..5fafc8c05 100644
--- a/tests/end2end/fixtures/notificationserver.py
+++ b/tests/end2end/fixtures/notificationserver.py
@@ -238,7 +238,7 @@ def notification_server(qapp, quteproc_process):
# a connection on macOS, since it's theoretically possible to run DBus there.
pytest.skip("Skipping DBus on Windows")
- qb_pid = quteproc_process.proc.pid()
+ qb_pid = quteproc_process.proc.processId()
server = TestNotificationServer(
f"{notification.DBusNotificationAdapter.TEST_SERVICE}{qb_pid}")
registered = server.register()