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-08-23 18:31:42 +0200
commita7e6a3a178a8e06909d26990295a014802371f50 (patch)
tree7b76cfc5bc6948f4367b21ea07366d78e778cd7b
parent05fdb6ca7c78b71049f95248753cc339a5da8392 (diff)
downloadqutebrowser-a7e6a3a178a8e06909d26990295a014802371f50.tar.gz
qutebrowser-a7e6a3a178a8e06909d26990295a014802371f50.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 3cc1be9d8..ec1953250 100644
--- a/tests/end2end/fixtures/notificationserver.py
+++ b/tests/end2end/fixtures/notificationserver.py
@@ -246,7 +246,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()