From 785e2052f6aac1ee2921350c96b59660f8e59fa8 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 24 Jan 2016 19:12:43 +0100 Subject: [PATCH] Ignore 'Method "GetAll"' Qt warning with escapes. For some reason, since some time this message appears with those escapes in it. --- pytest.ini | 1 + qutebrowser/utils/log.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pytest.ini b/pytest.ini index c408f209c..0a73418ad 100644 --- a/pytest.ini +++ b/pytest.ini @@ -21,6 +21,7 @@ qt_log_ignore = ^QWindowsWindow::setGeometryDp: Unable to set geometry .* ^QProcess: Destroyed while process .* is still running\. ^"Method "GetAll" with signature "s" on interface "org\.freedesktop\.DBus\.Properties" doesn't exist + ^"Method \\"GetAll\\" with signature \\"s\\" on interface \\"org\.freedesktop\.DBus\.Properties\\" doesn't exist\\n" ^virtual void QSslSocketBackendPrivate::transmit\(\) SSL write failed with error: -9805 ^virtual void QSslSocketBackendPrivate::transmit\(\) SSLRead failed with: -9805 ^Type conversion already registered from type .* diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py index 1d73194e7..9023085cf 100644 --- a/qutebrowser/utils/log.py +++ b/qutebrowser/utils/log.py @@ -294,6 +294,8 @@ def qt_message_handler(msg_type, context, msg): # Hopefully harmless '"Method "GetAll" with signature "s" on interface ' '"org.freedesktop.DBus.Properties" doesn\'t exist', + '"Method \\"GetAll\\" with signature \\"s\\" on interface ' + '\\"org.freedesktop.DBus.Properties\\" doesn\'t exist\\n"', 'WOFF support requires QtWebKit to be built with zlib support.', # Weird Enlightment/GTK X extensions 'QXcbWindow: Unhandled client message: "_E_',