You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
From f66d84930ac94d248644da0bf12036783142b012 Mon Sep 17 00:00:00 2001
|
|
From: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
|
|
Date: Fri, 31 Jul 2015 10:41:41 +0200
|
|
Subject: [PATCH 08/12] Add name to object debug output
|
|
|
|
---
|
|
src/qaccessibilityclient/accessibleobject.cpp | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/qaccessibilityclient/accessibleobject.cpp b/src/qaccessibilityclient/accessibleobject.cpp
|
|
index 21686bd..b2b005b 100644
|
|
--- a/src/qaccessibilityclient/accessibleobject.cpp
|
|
+++ b/src/qaccessibilityclient/accessibleobject.cpp
|
|
@@ -522,10 +522,11 @@ bool AccessibleObject::supportsAutocompletion() const
|
|
QACCESSIBILITYCLIENT_EXPORT QDebug QAccessibleClient::operator<<(QDebug d, const AccessibleObject &object)
|
|
{
|
|
d.nospace();
|
|
- d << "AccessibleObject("; //d:" << hex << (void *) object.d << dec;
|
|
+ d << "AccessibleObject(";
|
|
if (object.d) {
|
|
d << "service=" << object.d->service;
|
|
d << " path=" << object.d->path;
|
|
+ d << " name=" << object.name();
|
|
} else {
|
|
d << "invalid";
|
|
}
|
|
--
|
|
2.9.4
|
|
|