From df9978d6a15ec5b31972f7455c1da1768935ac66 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 2 Jul 2021 20:54:45 +0200 Subject: [PATCH] tablet: no need to forward the cursorChanged signal It's already emitted by updateCursor, so we were doing it twice. --- src/input.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/input.cpp b/src/input.cpp index 9970773e40..29e770de9c 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -1694,7 +1694,6 @@ public: Cursors::self()->addCursor(cursor); m_cursorByTool[tool] = cursor; - connect(tool, &TabletToolV2Interface::cursorChanged, cursor, &Cursor::cursorChanged); connect(tool, &TabletToolV2Interface::cursorChanged, cursor, [cursor] (TabletCursorV2 *tcursor) { static const auto createDefaultCursor = [] { WaylandCursorImage defaultCursor;