modernize: Pass arguments by value and move in constructors
[quassel.git] / src / client / bufferviewoverlay.h
index 24e1101..a476434 100644 (file)
@@ -34,7 +34,7 @@ class CLIENT_EXPORT BufferViewOverlay : public QObject
     Q_OBJECT
 
 public:
-    BufferViewOverlay(QObject *parent = 0);
+    BufferViewOverlay(QObject *parent = nullptr);
 
     inline const QSet<int> &bufferViewIds() { return _bufferViewIds; }
     bool allNetworks();
@@ -65,7 +65,7 @@ signals:
     void initDone();
 
 protected:
-    virtual void customEvent(QEvent *event);
+    void customEvent(QEvent *event) override;
 
 private slots:
     void viewInitialized();