X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fawaylogview.cpp;h=4bd0bcc8390e4a7195c760d955339f51e1dba7e3;hp=4a6bacc26462aeed5af070903fc957254fe3cab6;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=30b159cb876a9495de42e9a3e70ca050516f0805 diff --git a/src/qtui/awaylogview.cpp b/src/qtui/awaylogview.cpp index 4a6bacc2..4bd0bcc8 100644 --- a/src/qtui/awaylogview.cpp +++ b/src/qtui/awaylogview.cpp @@ -28,14 +28,13 @@ #include "chatlinemodel.h" #include "chatscene.h" -AwayLogView::AwayLogView(AwayLogFilter *filter, QWidget *parent) +AwayLogView::AwayLogView(AwayLogFilter* filter, QWidget* parent) : ChatMonitorView(filter, parent) { setWindowTitle(tr("Away Log")); } - -void AwayLogView::addActionsToMenu(QMenu *menu, const QPointF &pos) +void AwayLogView::addActionsToMenu(QMenu* menu, const QPointF& pos) { ChatView::addActionsToMenu(menu, pos); if (!menu->isEmpty()) @@ -44,13 +43,13 @@ void AwayLogView::addActionsToMenu(QMenu *menu, const QPointF &pos) if (scene()->columnByScenePos(pos) == ChatLineModel::SenderColumn) { menu->addSeparator(); - auto *showNetworkAction = new Action(tr("Show Network Name"), menu, this, &AwayLogView::showFieldsChanged); + auto* showNetworkAction = new Action(tr("Show Network Name"), menu, this, &AwayLogView::showFieldsChanged); showNetworkAction->setCheckable(true); showNetworkAction->setChecked(filter()->showFields() & ChatMonitorFilter::NetworkField); showNetworkAction->setData(ChatMonitorFilter::NetworkField); menu->addAction(showNetworkAction); - auto *showBufferAction = new Action(tr("Show Buffer Name"), menu, this, &AwayLogView::showFieldsChanged); + auto* showBufferAction = new Action(tr("Show Buffer Name"), menu, this, &AwayLogView::showFieldsChanged); showBufferAction->setCheckable(true); showBufferAction->setChecked(filter()->showFields() & ChatMonitorFilter::BufferField); showBufferAction->setData(ChatMonitorFilter::BufferField);