fix build error

This commit is contained in:
Mouse Zhang 2022-11-23 18:17:17 +08:00
parent e0de361f03
commit 3339d26c06
3 changed files with 3 additions and 9 deletions

2
debian/changelog vendored
View File

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

View File

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

View File

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