From 038b4cedcbda96907d035d32e4f704d111f75cec Mon Sep 17 00:00:00 2001 From: lumirayz Date: Thu, 11 Dec 2014 15:31:01 +0100 Subject: [PATCH] make the code style more consistent --- src/misc/settings.cpp | 6 ++++-- src/widget/genericchatroomwidget.cpp | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) 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); }