From 4a223ef50817fc21c3aa31bc97808ec15294a2b1 Mon Sep 17 00:00:00 2001 From: Aidan Hahn Date: Tue, 3 Sep 2019 19:59:08 -0700 Subject: relinted --- src/RoomInfoListItem.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/RoomInfoListItem.cpp b/src/RoomInfoListItem.cpp index 5b41794b..8aadbea2 100644 --- a/src/RoomInfoListItem.cpp +++ b/src/RoomInfoListItem.cpp @@ -19,8 +19,8 @@ #include #include #include -#include #include +#include #include "AvatarProvider.h" #include "Cache.h" @@ -291,9 +291,8 @@ RoomInfoListItem::paintEvent(QPaintEvent *event) p.setPen(Qt::NoPen); p.setBrush(brush); - rounded ? - p.drawEllipse(avatarRegion.center(), wm.iconSize / 2, wm.iconSize / 2) : - p.drawRoundedRect(avatarRegion, 3, 3); + rounded ? p.drawEllipse(avatarRegion.center(), wm.iconSize / 2, wm.iconSize / 2) + : p.drawRoundedRect(avatarRegion, 3, 3); QFont bubbleFont; bubbleFont.setPointSizeF(bubbleFont.pointSizeF() * 1.4); @@ -306,9 +305,8 @@ RoomInfoListItem::paintEvent(QPaintEvent *event) p.save(); QPainterPath path; - rounded ? - path.addEllipse(wm.padding, wm.padding, wm.iconSize, wm.iconSize) : - path.addRoundedRect(avatarRegion, 3, 3); + rounded ? path.addEllipse(wm.padding, wm.padding, wm.iconSize, wm.iconSize) + : path.addRoundedRect(avatarRegion, 3, 3); p.setClipPath(path); -- cgit 1.4.1