Use categorized logging in qaccessible.cpp

Change-Id: I244a1ef8bae2cc0392dae4ef8f3fbb47630e1d56
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
bb10
Frederik Gladhorn 2017-02-05 11:26:41 +01:00
parent e7034fddfe
commit c7e49651f1
1 changed files with 4 additions and 1 deletions

View File

@ -52,12 +52,15 @@
#include <qpa/qplatformintegration.h>
#include <QtCore/qdebug.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qhash.h>
#include <private/qfactoryloader_p.h>
QT_BEGIN_NAMESPACE
Q_LOGGING_CATEGORY(lcAccessibilityCore, "qt.accessibility.core");
/*!
\class QAccessible
\brief The QAccessible class provides enums and static functions
@ -1769,7 +1772,7 @@ QAccessibleInterface *QAccessibleEvent::accessibleInterface() const
if (child) {
iface = child;
} else {
qWarning() << "Cannot creat accessible child interface for object: " << m_object << " index: " << m_child;
qCWarning(lcAccessibilityCore) << "Cannot create accessible child interface for object: " << m_object << " index: " << m_child;
}
}
return iface;