1
0
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:
lumirayz 2014-12-11 19:11:21 +01:00
parent 038b4cedcb
commit f469e1b892

View File

@ -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);