mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Use 'auto' to avoid duplicating the type name
This commit is contained in:
@@ -153,7 +153,7 @@ namespace
|
||||
}
|
||||
m_checkBoxOffset.setWidth(layoutPadding.width());
|
||||
|
||||
QHBoxLayout *layout = new QHBoxLayout(this);
|
||||
auto *layout = new QHBoxLayout(this);
|
||||
layout->addWidget(m_checkBox);
|
||||
layout->addStretch();
|
||||
layout->setContentsMargins(layoutPadding.width(), layoutPadding.height(), layoutPadding.width(), layoutPadding.height());
|
||||
|
||||
Reference in New Issue
Block a user