tablet: no need to forward the cursorChanged signal

It's already emitted by updateCursor, so we were doing it twice.
This commit is contained in:
Aleix Pol 2021-07-02 20:54:45 +02:00
parent f54d7a2697
commit df9978d6a1

View file

@ -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;