diff --git a/src/misc/settings.cpp b/src/misc/settings.cpp index 6dfb44dfc..3f1635028 100644 --- a/src/misc/settings.cpp +++ b/src/misc/settings.cpp @@ -960,11 +960,13 @@ void Settings::setFauxOfflineMessaging(bool value) fauxOfflineMessaging = value; } -bool Settings::getCompactLayout() const { +bool Settings::getCompactLayout() const +{ return compactLayout; } -void Settings::setCompactLayout(bool value) { +void Settings::setCompactLayout(bool value) +{ compactLayout = value; emit compactLayoutChanged(); } diff --git a/src/widget/genericchatroomwidget.cpp b/src/widget/genericchatroomwidget.cpp index 8dad4e5d1..cc4405bbc 100644 --- a/src/widget/genericchatroomwidget.cpp +++ b/src/widget/genericchatroomwidget.cpp @@ -140,7 +140,8 @@ bool GenericChatroomWidget::isCompact() const return compact; } -void GenericChatroomWidget::setCompact(bool compact) { +void GenericChatroomWidget::setCompact(bool compact) +{ this->compact = compact; Style::repolish(this); }