summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAidan Hahn <aidan@aidanis.online>2019-09-01 19:54:50 -0700
committerAidan Hahn <aidan@aidanis.online>2019-09-01 19:54:50 -0700
commit3677c58a17d2a3db4522e0cd6c8c5c2ed34eb1f3 (patch)
tree2feb5c86cea812e47c01a4ac318eef4ea22eec39 /src
parentMerge branch '0.7.0-dev' of https://github.com/Nheko-Reborn/nheko into 0.7.0-... (diff)
downloadnheko-3677c58a17d2a3db4522e0cd6c8c5c2ed34eb1f3.tar.xz
ReImplement UserSettings::setAvatarCircles
Diffstat (limited to 'src')
-rw-r--r--src/UserSettingsPage.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h

index e1fff259..28236e83 100644 --- a/src/UserSettingsPage.h +++ b/src/UserSettingsPage.h
@@ -86,6 +86,12 @@ 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_; }