macOS: Add some logging to QCocoaInputContext
Pick-to: 6.2 Change-Id: I8e28cdaf89e8b741a5047f00016e17b8916edece Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
c7ec8c0973
commit
e5bebd883c
@ -102,9 +102,10 @@ QCocoaInputContext::~QCocoaInputContext()
|
||||
/*!
|
||||
\brief Cancels a composition.
|
||||
*/
|
||||
|
||||
void QCocoaInputContext::reset()
|
||||
{
|
||||
qCDebug(lcQpaInputMethods) << "Resetting input method";
|
||||
|
||||
QPlatformInputContext::reset();
|
||||
|
||||
if (!m_focusWindow)
|
||||
@ -130,7 +131,8 @@ void QCocoaInputContext::connectSignals()
|
||||
|
||||
void QCocoaInputContext::focusObjectChanged(QObject *focusObject)
|
||||
{
|
||||
Q_UNUSED(focusObject);
|
||||
qCDebug(lcQpaInputMethods) << "Focus object changed to" << focusObject;
|
||||
|
||||
if (m_focusWindow == QGuiApplication::focusWindow()) {
|
||||
if (!m_focusWindow)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user