modernize: Use override instead of virtual
[quassel.git] / src / qtui / titlesetter.h
index 3a88310..b0bc970 100644 (file)
@@ -33,8 +33,8 @@ public:
     TitleSetter(MainWin *parent);
 
 protected slots:
     TitleSetter(MainWin *parent);
 
 protected slots:
-    virtual void currentChanged(const QModelIndex &current, const QModelIndex &previous);
-    virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
+    void currentChanged(const QModelIndex &current, const QModelIndex &previous) override;
+    void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) override;
 
 private:
     MainWin *_mainWin;
 
 private:
     MainWin *_mainWin;