From 3339d26c06db94f35ce8192ce06d23d309ba0bfd Mon Sep 17 00:00:00 2001 From: Mouse Zhang Date: Wed, 23 Nov 2022 18:17:17 +0800 Subject: [PATCH] fix build error --- debian/changelog | 2 +- src/gestures.cpp | 6 ------ src/gestures.h | 4 ++-- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 38a0ab491..b9d237154 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -kwin (4:5.24.4-ok6~1123) yangtze; urgency=medium +kwin (4:5.24.4-ok6~1123.1) yangtze; urgency=medium * tablet mode manager refactoring * add blur background for tablet mode diff --git a/src/gestures.cpp b/src/gestures.cpp index ca667bd43..0d7cb8c26 100644 --- a/src/gestures.cpp +++ b/src/gestures.cpp @@ -24,16 +24,12 @@ Gesture::Gesture(QObject *parent) { } -Gesture::~Gesture() = default; - SwipeGesture::SwipeGesture(QObject *parent) : Gesture(parent) { } -SwipeGesture::~SwipeGesture() = default; - void SwipeGesture::setStartGeometry(const QRect &geometry) { setMinimumX(geometry.x()); @@ -73,8 +69,6 @@ GestureRecognizer::GestureRecognizer(QObject *parent) { } -GestureRecognizer::~GestureRecognizer() = default; - void GestureRecognizer::registerGesture(KWin::Gesture* gesture) { Q_ASSERT(!m_gestures.contains(gesture)); diff --git a/src/gestures.h b/src/gestures.h index 3e76f6277..5f59be473 100644 --- a/src/gestures.h +++ b/src/gestures.h @@ -57,7 +57,7 @@ public: }; explicit SwipeGesture(QObject *parent = nullptr); - ~SwipeGesture() override; + ~SwipeGesture() override = default; bool minimumFingerCountIsRelevant() const { return m_minimumFingerCountRelevant; @@ -190,7 +190,7 @@ class KWIN_EXPORT GestureRecognizer : public QObject public: GestureRecognizer(QObject *parent = nullptr); - ~GestureRecognizer() override; + ~GestureRecognizer() override = default; void registerGesture(Gesture *gesture); void unregisterGesture(Gesture *gesture);