modernize: Use override instead of virtual
[quassel.git] / src / qtui / qtuistyle.h
index 8a85d93..903c78e 100644 (file)
@@ -29,8 +29,8 @@ class QtUiStyle : public UiStyle
     Q_OBJECT
 
 public:
-    QtUiStyle(QObject *parent = 0);
-    virtual ~QtUiStyle();
+    QtUiStyle(QObject *parent = nullptr);
+    ~QtUiStyle() override;
 
     virtual inline qreal firstColumnSeparator() const { return 6; }
     virtual inline qreal secondColumnSeparator() const { return 6; }
@@ -61,9 +61,9 @@ private slots:
     void updateTimestampFormatString();
     
     /**
-     * Updates knowledge of whether or not to show sender prefixmodes
+     * Updates knowledge of how to display sender prefix modes
      */
-    void updateShowSenderPrefixes();
+    void updateSenderPrefixDisplay();
 
     /**
      * Updates knowledge of whether or not to show sender brackets