]> cloud.milkyroute.net Git - dolphin.git/commitdiff
GIT_SILENT: add missing override keyword
authorLaurent Montel <montel@kde.org>
Mon, 25 Oct 2021 11:34:22 +0000 (13:34 +0200)
committerLaurent Montel <montel@kde.org>
Mon, 25 Oct 2021 11:34:22 +0000 (13:34 +0200)
src/dolphinurlnavigator.h
src/kitemviews/kstandarditem.h
src/kitemviews/private/ktwofingerswipe.h
src/kitemviews/private/ktwofingertap.h
src/trash/dolphintrash.h

index 2ae67352aeeac92e7ce196b556c04ed90196f4d2..572c29f631444d39f9e01cd7d91f312cc9732ed3 100644 (file)
@@ -36,7 +36,7 @@ public:
      */
     DolphinUrlNavigator(const QUrl &url, QWidget *parent = nullptr);
 
-    virtual ~DolphinUrlNavigator();
+    ~DolphinUrlNavigator() override;
 
     // TODO: Fix KUrlNavigator::sizeHint() instead.
     QSize sizeHint() const override;
index 265483d50de22914261b345ce4ce6b1c263b6e9b..fb64b334d96f39e43f59b860079d02f90bde336d 100644 (file)
@@ -31,7 +31,7 @@ public:
     explicit KStandardItem(KStandardItem* parent = nullptr);
     explicit KStandardItem(const QString& text, KStandardItem* parent = nullptr);
     KStandardItem(const QString& icon, const QString& text, KStandardItem* parent = nullptr);
-    virtual ~KStandardItem();
+    ~KStandardItem() override;
 
     /**
      * Sets the text for the "text"-role.
index 27d9d75d9619993c4b165fca643478b37fad72fa..6d64d8ff7d6e5d8632a72523bef84e2513555b79 100644 (file)
@@ -21,7 +21,7 @@ class DOLPHIN_EXPORT KTwoFingerSwipe : public QGesture
     Q_PROPERTY(qreal swipeAngle READ swipeAngle WRITE setSwipeAngle)
 public:
     explicit KTwoFingerSwipe(QObject* parent = nullptr);
-    ~KTwoFingerSwipe();
+    ~KTwoFingerSwipe() override;
     QPointF pos() const;
     void setPos(QPointF pos);
     QPointF screenPos() const;
@@ -41,7 +41,7 @@ class DOLPHIN_EXPORT KTwoFingerSwipeRecognizer : public QGestureRecognizer
 {
 public:
     explicit KTwoFingerSwipeRecognizer();
-    ~KTwoFingerSwipeRecognizer();
+    ~KTwoFingerSwipeRecognizer() override;
     QGesture* create(QObject*) override;
     Result recognize(QGesture*, QObject*, QEvent*) override;
 private:
index 614df242481ab90dc82ea8f2d2f672d05464524f..6d409900b59fbc9c339da560807ffa01d9b1aa25 100644 (file)
@@ -20,7 +20,7 @@ class DOLPHIN_EXPORT KTwoFingerTap : public QGesture
     Q_PROPERTY(QPointF scenePos READ scenePos WRITE setScenePos)
 public:
     explicit KTwoFingerTap(QObject* parent = nullptr);
-    ~KTwoFingerTap();
+    ~KTwoFingerTap() override;
     QPointF pos() const;
     void setPos(QPointF pos);
     QPointF screenPos() const;
@@ -37,7 +37,7 @@ class DOLPHIN_EXPORT KTwoFingerTapRecognizer : public QGestureRecognizer
 {
 public:
     explicit KTwoFingerTapRecognizer();
-    ~KTwoFingerTapRecognizer();
+    ~KTwoFingerTapRecognizer() override;
     QGesture* create(QObject*) override; 
     Result recognize(QGesture*, QObject*, QEvent*) override;
 private:
index 1ef7d7d0241c0ebb51de9cd87ccc001b64e682a4..12f10f101e5540b8369a2c4ef3b09b1e29a89f95 100644 (file)
@@ -35,7 +35,7 @@ private:
     KDirLister *m_trashDirLister;
 
     Trash();
-    ~Trash();
+    ~Trash() override;
 };
 
 #endif // DOLPHINTRASH_H