summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAidan Hahn <aidan@aidanis.online>2019-09-01 16:28:19 -0700
committerAidan Hahn <aidan@aidanis.online>2019-09-01 16:28:19 -0700
commitce978589b7a85ebae52990986d7b5fbab9279fd1 (patch)
treebcf0190083e972ac65e5094fbd5484148a5bc82a /src
parentfixed typoes in code, added layout metadata to new settings toggle. (diff)
downloadnheko-ce978589b7a85ebae52990986d7b5fbab9279fd1.tar.xz
removed leftovers from previous refactor
Diffstat (limited to 'src')
-rw-r--r--src/RoomInfoListItem.h1
-rw-r--r--src/UserSettingsPage.h7
2 files changed, 0 insertions, 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_; }