summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-22 00:32:49 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-22 00:33:43 +0100
commita13f492e7d587ade54606a77c4e9f497a0fea737 (patch)
treeffb115cd17450e8094e7e15e0d04f2d5d2e9a852 /src/timeline/TimelineModel.cpp
parentMerge pull request #822 from Nheko-Reborn/dm-filter (diff)
downloadnheko-a13f492e7d587ade54606a77c4e9f497a0fea737.tar.xz
Make clang-format <13 and clang-format >=13 behave the same
I think old clang-format is just buggy in those cases, so we should
reenable those blocks, once everyone has 13 or up.
Diffstat (limited to '')
-rw-r--r--src/timeline/TimelineModel.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp

index aa7a68f3..4a81b243 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -126,43 +126,43 @@ struct RoomEventType { return qml_mtx_events::EventType::VideoMessage; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::KeyVerificationRequest> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::KeyVerificationRequest> &) { return qml_mtx_events::EventType::KeyVerificationRequest; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::KeyVerificationStart> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::KeyVerificationStart> &) { return qml_mtx_events::EventType::KeyVerificationStart; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::KeyVerificationMac> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::KeyVerificationMac> &) { return qml_mtx_events::EventType::KeyVerificationMac; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::KeyVerificationAccept> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::KeyVerificationAccept> &) { return qml_mtx_events::EventType::KeyVerificationAccept; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::KeyVerificationReady> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::KeyVerificationReady> &) { return qml_mtx_events::EventType::KeyVerificationReady; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::KeyVerificationCancel> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::KeyVerificationCancel> &) { return qml_mtx_events::EventType::KeyVerificationCancel; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::KeyVerificationKey> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::KeyVerificationKey> &) { return qml_mtx_events::EventType::KeyVerificationKey; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::KeyVerificationDone> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::KeyVerificationDone> &) { return qml_mtx_events::EventType::KeyVerificationDone; } @@ -182,8 +182,8 @@ struct RoomEventType { return qml_mtx_events::EventType::CallHangUp; } - qml_mtx_events::EventType operator()( - const mtx::events::Event<mtx::events::msg::CallCandidates> &) + qml_mtx_events::EventType + operator()(const mtx::events::Event<mtx::events::msg::CallCandidates> &) { return qml_mtx_events::EventType::CallCandidates; }