mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Use 'auto' to avoid duplicating the type name
This commit is contained in:
@@ -55,7 +55,7 @@ StatusBar::StatusBar(QWidget *parent)
|
||||
BitTorrent::Session *const session = BitTorrent::Session::instance();
|
||||
connect(session, &BitTorrent::Session::speedLimitModeChanged, this, &StatusBar::updateAltSpeedsBtn);
|
||||
QWidget *container = new QWidget(this);
|
||||
QHBoxLayout *layout = new QHBoxLayout(container);
|
||||
auto *layout = new QHBoxLayout(container);
|
||||
layout->setContentsMargins(0,0,0,0);
|
||||
|
||||
container->setLayout(layout);
|
||||
|
||||
Reference in New Issue
Block a user