From c428ef4b6aaf4820993e0562b761f32b77759874 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 6 Aug 2017 22:37:55 +0300 Subject: [PATCH] Remove unused variable --- src/RoomInfoListItem.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/RoomInfoListItem.cc b/src/RoomInfoListItem.cc index c9d7338f..103bbd53 100644 --- a/src/RoomInfoListItem.cc +++ b/src/RoomInfoListItem.cc @@ -127,11 +127,6 @@ void RoomInfoListItem::paintEvent(QPaintEvent *event) p.setPen(pen); } - double descPercentage = 0.90; - - if (unreadMsgCount_ > 0) - descPercentage = 0.8; - font.setPixelSize(conf::fontSize); p.setFont(font);