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:
@@ -184,7 +184,7 @@ FileSystemPathEdit::FileSystemPathEdit(Private::FileEditorWithCompletion *editor
|
||||
Q_D(FileSystemPathEdit);
|
||||
editor->widget()->setParent(this);
|
||||
|
||||
QHBoxLayout *layout = new QHBoxLayout(this);
|
||||
auto *layout = new QHBoxLayout(this);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(editor->widget());
|
||||
layout->addWidget(d->m_browseBtn);
|
||||
|
||||
Reference in New Issue
Block a user