mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Use auto to avoid duplicating the type name
This commit is contained in:
@ -132,7 +132,7 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent)
|
||||
port->setValidator(validator);
|
||||
|
||||
QWidget *portWidget = new QWidget(this);
|
||||
QHBoxLayout *portWidgetLayout = new QHBoxLayout(this);
|
||||
auto portWidgetLayout = new QHBoxLayout(this);
|
||||
portWidgetLayout->addWidget(port);
|
||||
portWidgetLayout->addWidget(accept);
|
||||
portWidgetLayout->setMargin(0);
|
||||
|
Reference in New Issue
Block a user