diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-01 14:49:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-01 18:56:23 +0100 |
commit | dfe5531ec8eaf9665248eb332f33ddfecd04d588 (patch) | |
tree | 81ce85268b2d0d4d02473ee92516fb2be7ed6f91 | |
parent | 74ac2c25a71d820ce187282be6d66f4b66da5b18 (diff) |
lokdocview: log lok::Document::postKeyEvent() arguments
Change-Id: I16e7c0fee34077d5bbb493d9d9502ff82355c2c6
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index bf35646bf5ea..afb347f62e83 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -541,6 +541,9 @@ postKeyEventInThread(gpointer data) LOEvent* pLOEvent = static_cast<LOEvent*>(g_task_get_task_data(task)); priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId); + std::stringstream ss; + ss << "lok::Document::postKeyEvent(" << pLOEvent->m_nKeyEvent << ", " << pLOEvent->m_nCharCode << ", " << pLOEvent->m_nKeyCode << ")"; + g_info("%s", ss.str().c_str()); priv->m_pDocument->pClass->postKeyEvent(priv->m_pDocument, pLOEvent->m_nKeyEvent, pLOEvent->m_nCharCode, |