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:
parent
c73b07db72
commit
038b4cedcb
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user