modernize: Use override instead of virtual
[quassel.git] / src / core / keyevent.h
index 9c24fbb..b3f4d48 100644 (file)
@@ -56,10 +56,10 @@ public:
 
 protected:
     explicit KeyEvent(EventManager::EventType type, QVariantMap &map, Network *network);
-    void toVariantMap(QVariantMap &map) const;
+    void toVariantMap(QVariantMap &map) const override;
 
-    virtual inline QString className() const { return "KeyEvent"; }
-    virtual inline void debugInfo(QDebug &dbg) const
+    inline QString className() const override { return "KeyEvent"; }
+    inline void debugInfo(QDebug &dbg) const override
     {
         NetworkEvent::debugInfo(dbg);
         dbg << ", prefix = " << qPrintable(prefix())