1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

make the code style more consistent

This commit is contained in:
lumirayz 2014-12-11 15:31:01 +01:00
parent c73b07db72
commit 038b4cedcb
2 changed files with 6 additions and 3 deletions

View File

@ -960,11 +960,13 @@ void Settings::setFauxOfflineMessaging(bool value)
fauxOfflineMessaging = value; fauxOfflineMessaging = value;
} }
bool Settings::getCompactLayout() const { bool Settings::getCompactLayout() const
{
return compactLayout; return compactLayout;
} }
void Settings::setCompactLayout(bool value) { void Settings::setCompactLayout(bool value)
{
compactLayout = value; compactLayout = value;
emit compactLayoutChanged(); emit compactLayoutChanged();
} }

View File

@ -140,7 +140,8 @@ bool GenericChatroomWidget::isCompact() const
return compact; return compact;
} }
void GenericChatroomWidget::setCompact(bool compact) { void GenericChatroomWidget::setCompact(bool compact)
{
this->compact = compact; this->compact = compact;
Style::repolish(this); Style::repolish(this);
} }