From ce978589b7a85ebae52990986d7b5fbab9279fd1 Mon Sep 17 00:00:00 2001 From: Aidan Hahn Date: Sun, 1 Sep 2019 16:28:19 -0700 Subject: [PATCH] removed leftovers from previous refactor --- src/RoomInfoListItem.h | 1 - src/UserSettingsPage.h | 7 ------- 2 files changed, 8 deletions(-) diff --git a/src/RoomInfoListItem.h b/src/RoomInfoListItem.h index e0280438..40c938c1 100644 --- a/src/RoomInfoListItem.h +++ b/src/RoomInfoListItem.h @@ -186,7 +186,6 @@ private: bool isPressed_ = false; bool hasUnreadMessages_ = true; - bool rounded_ = true; int unreadMsgCount_ = 0; int unreadHighlightedMsgCount_ = 0; diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h index 5f16a797..e1fff259 100644 --- a/src/UserSettingsPage.h +++ b/src/UserSettingsPage.h @@ -86,12 +86,6 @@ public: save(); } - void setAvatarCircles(bool state) - { - avatarCircles_ = state; - save(); - } - QString theme() const { return !theme_.isEmpty() ? theme_ : defaultTheme_; } bool isTrayEnabled() const { return isTrayEnabled_; } bool isStartInTrayEnabled() const { return isStartInTrayEnabled_; } @@ -99,7 +93,6 @@ public: bool isTypingNotificationsEnabled() const { return isTypingNotificationsEnabled_; } bool isReadReceiptsEnabled() const { return isReadReceiptsEnabled_; } bool hasDesktopNotifications() const { return hasDesktopNotifications_; } - bool hasRoundedAvatars() const { return avatarCircles_; } double fontSize() const { return baseFontSize_; } QString font() const { return font_; } QString emojiFont() const { return emojiFont_; }