mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix more consistency issues
This commit is contained in:
parent
038b4cedcb
commit
f469e1b892
|
@ -27,7 +27,7 @@ GenericChatroomWidget::GenericChatroomWidget(QWidget *parent)
|
|||
{
|
||||
setProperty("compact", Settings::getInstance().getCompactLayout());
|
||||
|
||||
if(property("compact").toBool())
|
||||
if (property("compact").toBool())
|
||||
{
|
||||
setFixedHeight(25);
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ GenericChatroomWidget::GenericChatroomWidget(QWidget *parent)
|
|||
setLayoutDirection(Qt::LeftToRight); // parent might have set Qt::RightToLeft
|
||||
|
||||
// avatar
|
||||
if(property("compact").toBool())
|
||||
if (property("compact").toBool())
|
||||
{
|
||||
avatar = new MaskablePixmapWidget(this, QSize(20,20), ":/img/avatar_mask.png");
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ GenericChatroomWidget::GenericChatroomWidget(QWidget *parent)
|
|||
nameLabel = new CroppingLabel(this);
|
||||
nameLabel->setObjectName("name");
|
||||
|
||||
if(property("compact").toBool())
|
||||
if (property("compact").toBool())
|
||||
{
|
||||
layout.addSpacing(18);
|
||||
layout.addWidget(avatar);
|
||||
|
|
Loading…
Reference in New Issue
Block a user