mirror of https://gitee.com/openkylin/kwin.git
fix build error
This commit is contained in:
parent
e0de361f03
commit
3339d26c06
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue