aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel d'Andrada <daniel.dandrada@luxoft.com>2017-10-06 10:15:44 +0200
committerDaniel d'Andrada <daniel.dandrada@luxoft.com>2017-10-06 12:30:25 +0000
commit54636e22684970e8554e923027325d0d7886c04a (patch)
tree6460ac88f2e7f2292511308e559d3e7a1d6be2bb
parent825a16569525f102fbeec839425d244eab03bff2 (diff)
MouseTouchAdaptor: Stop spamming the log with debug messages
And lower severity of the remaining one Change-Id: I9f66f0de226a06ee8b41a522cb8def80e84b28e8 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
-rw-r--r--src/MouseTouchAdaptor.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/MouseTouchAdaptor.cpp b/src/MouseTouchAdaptor.cpp
index 31d4d59..45f09d9 100644
--- a/src/MouseTouchAdaptor.cpp
+++ b/src/MouseTouchAdaptor.cpp
@@ -122,7 +122,7 @@ void MouseTouchAdaptor::queryForXInput2()
bool MouseTouchAdaptor::nativeEventFilter(const QByteArray &eventType, void *message, long * /*result*/)
{
if (eventType != "xcb_generic_event_t") {
- qCWarning(mouseTouchAdaptor) << "Non XCB native event received. Ignoring.";
+ qCDebug(mouseTouchAdaptor) << "Non XCB native event received. Ignoring.";
return false;
}
@@ -158,7 +158,6 @@ bool MouseTouchAdaptor::nativeEventFilter(const QByteArray &eventType, void *mes
bool MouseTouchAdaptor::handleButtonPress(WId windowId, uint32_t detail, uint32_t /*modifiers*/, int x, int y)
{
Qt::MouseButton button = xcbButtonToQtMouseButton(detail);
- qCDebug(mouseTouchAdaptor) << "***** press";
// Filter out the other mouse buttons
if (button != Qt::LeftButton)
@@ -179,7 +178,6 @@ bool MouseTouchAdaptor::handleButtonPress(WId windowId, uint32_t detail, uint32_
bool MouseTouchAdaptor::handleButtonRelease(WId windowId, uint32_t detail, uint32_t, int x, int y)
{
Qt::MouseButton button = xcbButtonToQtMouseButton(detail);
- qCDebug(mouseTouchAdaptor) << "***** release";
// Don't eat the event if it wasn't a left mouse press
if (button != Qt::LeftButton)