diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-08-30 08:00:35 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-09-11 19:35:31 -0400 |
commit | c991f20284620ca0483b00b828c3ae574a14a2ef (patch) | |
tree | 60e9cc2e45192890e72eec12a43cef8400634a03 | |
parent | Add some fancy effects to jdenticon (diff) | |
download | nheko-c991f20284620ca0483b00b828c3ae574a14a2ef.tar.xz |
Make sure jdenticon toggle is always initialized
-rw-r--r-- | src/UserSettingsPage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp index 7df9d55d..60ba18aa 100644 --- a/src/UserSettingsPage.cpp +++ b/src/UserSettingsPage.cpp @@ -813,6 +813,8 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge useIdenticon_ = new Toggle{this}; useIdenticon_->setChecked(settings_->useIdenticon()); } + else + useIdenticon_ = nullptr; if (!settings_->tray()) { startInTrayToggle_->setState(false); |