Avoid warning.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 18 Aug 2021 17:58:23 +0000 (19:58 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 18 Aug 2021 17:58:23 +0000 (19:58 +0200)
src/gui/daynavigatorwidget.h

index c1529ed85c3574c1eab8350d90dce4b4fca042e2..92779624e5198b57eb335a5a047ab92ff26b344d 100644 (file)
@@ -40,7 +40,7 @@ class DayNavigatorWidget : public QWidget, private Ui::DayNavigatorWidget {
         void unsetDates();
         virtual QSize minimumSizeHint() const override;
     protected:
         void unsetDates();
         virtual QSize minimumSizeHint() const override;
     protected:
-        void paintEvent(QPaintEvent *);
+        virtual void paintEvent(QPaintEvent *) override;
         void configureNavigation();
     private slots:
         void prevDayButtonClicked();
         void configureNavigation();
     private slots:
         void prevDayButtonClicked();