Remove some commented out code

This commit is contained in:
Vlad Zahorodnii 2022-11-03 19:46:44 +02:00
parent fee348d147
commit af0d39c118
2 changed files with 1 additions and 17 deletions

View file

@ -13,7 +13,6 @@
#include <config-kwin.h>
#include "core/output.h"
#include "core/platform.h"
#include "decorations/decoratedclient.h"
#include "effects.h"
#include "input_event.h"
@ -1414,18 +1413,4 @@ void InputRedirectionCursor::slotPointerButtonChanged()
Q_EMIT mouseChanged(pos, pos, m_currentButtons, oldButtons, input()->keyboardModifiers(), input()->keyboardModifiers());
}
void InputRedirectionCursor::doStartCursorTracking()
{
#ifndef KCMRULES
// connect(Cursors::self(), &Cursors::currentCursorChanged, this, &Cursor::cursorChanged);
#endif
}
void InputRedirectionCursor::doStopCursorTracking()
{
#ifndef KCMRULES
// disconnect(kwinApp()->platform(), &Platform::cursorChanged, this, &Cursor::cursorChanged);
#endif
}
}

View file

@ -284,8 +284,7 @@ public:
protected:
void doSetPos() override;
void doStartCursorTracking() override;
void doStopCursorTracking() override;
private Q_SLOTS:
void slotPosChanged(const QPointF &pos);
void slotPointerButtonChanged();