X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fpreviewbufferview.h;h=3f8b64b6a69e3798abdefaa0d09aefd592b0a53e;hp=6f762b5a2454d1c6db0042fa588940c28e848afb;hb=158443f71d48215eea8b47b836b61afd77654b78;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e diff --git a/src/qtui/settingspages/previewbufferview.h b/src/qtui/settingspages/previewbufferview.h index 6f762b5a..3f8b64b6 100644 --- a/src/qtui/settingspages/previewbufferview.h +++ b/src/qtui/settingspages/previewbufferview.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -28,11 +28,11 @@ class PreviewBufferView : public BufferView Q_OBJECT public: - PreviewBufferView(QWidget *parent = 0) : BufferView(parent) {} + PreviewBufferView(QWidget *parent = nullptr) : BufferView(parent) {} protected: - virtual void keyPressEvent(QKeyEvent *event) { QTreeView::keyPressEvent(event); } - virtual void contextMenuEvent(QContextMenuEvent *) {} + void keyPressEvent(QKeyEvent *event) override { QTreeView::keyPressEvent(event); } + void contextMenuEvent(QContextMenuEvent *) override {} };