removed leftovers from previous refactor

remotes/origin/0.7.0-dev
Aidan Hahn 5 years ago
parent 1e6fc6e342
commit ce978589b7
No known key found for this signature in database
GPG Key ID: 327711E983899316
  1. 1
      src/RoomInfoListItem.h
  2. 7
      src/UserSettingsPage.h

@ -186,7 +186,6 @@ private:
bool isPressed_ = false; bool isPressed_ = false;
bool hasUnreadMessages_ = true; bool hasUnreadMessages_ = true;
bool rounded_ = true;
int unreadMsgCount_ = 0; int unreadMsgCount_ = 0;
int unreadHighlightedMsgCount_ = 0; int unreadHighlightedMsgCount_ = 0;

@ -86,12 +86,6 @@ public:
save(); save();
} }
void setAvatarCircles(bool state)
{
avatarCircles_ = state;
save();
}
QString theme() const { return !theme_.isEmpty() ? theme_ : defaultTheme_; } QString theme() const { return !theme_.isEmpty() ? theme_ : defaultTheme_; }
bool isTrayEnabled() const { return isTrayEnabled_; } bool isTrayEnabled() const { return isTrayEnabled_; }
bool isStartInTrayEnabled() const { return isStartInTrayEnabled_; } bool isStartInTrayEnabled() const { return isStartInTrayEnabled_; }
@ -99,7 +93,6 @@ public:
bool isTypingNotificationsEnabled() const { return isTypingNotificationsEnabled_; } bool isTypingNotificationsEnabled() const { return isTypingNotificationsEnabled_; }
bool isReadReceiptsEnabled() const { return isReadReceiptsEnabled_; } bool isReadReceiptsEnabled() const { return isReadReceiptsEnabled_; }
bool hasDesktopNotifications() const { return hasDesktopNotifications_; } bool hasDesktopNotifications() const { return hasDesktopNotifications_; }
bool hasRoundedAvatars() const { return avatarCircles_; }
double fontSize() const { return baseFontSize_; } double fontSize() const { return baseFontSize_; }
QString font() const { return font_; } QString font() const { return font_; }
QString emojiFont() const { return emojiFont_; } QString emojiFont() const { return emojiFont_; }

Loading…
Cancel
Save