X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fpreviewbufferview.h;h=72f0b84c7d8b39365621e4354c49f6515437da9d;hb=24c7de34254b5de4cf28045a6923a527e06f7290;hp=3f8b64b6a69e3798abdefaa0d09aefd592b0a53e;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;p=quassel.git diff --git a/src/qtui/settingspages/previewbufferview.h b/src/qtui/settingspages/previewbufferview.h index 3f8b64b6..72f0b84c 100644 --- a/src/qtui/settingspages/previewbufferview.h +++ b/src/qtui/settingspages/previewbufferview.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -28,12 +28,13 @@ class PreviewBufferView : public BufferView Q_OBJECT public: - PreviewBufferView(QWidget *parent = nullptr) : BufferView(parent) {} + PreviewBufferView(QWidget* parent = nullptr) + : BufferView(parent) + {} protected: - void keyPressEvent(QKeyEvent *event) override { QTreeView::keyPressEvent(event); } - void contextMenuEvent(QContextMenuEvent *) override {} + void keyPressEvent(QKeyEvent* event) override { QTreeView::keyPressEvent(event); } + void contextMenuEvent(QContextMenuEvent*) override {} }; - -#endif //PREVIEWBUFFERVIEW_H +#endif // PREVIEWBUFFERVIEW_H