mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Use auto to avoid duplicating the type name
This commit is contained in:
@ -27,7 +27,7 @@ void EmptyContainerInfo::setText(const QString &text)
|
||||
|
||||
QVBoxLayout *EmptyContainerInfo::setUpDefaultLayout(bool addStretch)
|
||||
{
|
||||
QVBoxLayout *layout = new QVBoxLayout;
|
||||
auto layout = new QVBoxLayout;
|
||||
|
||||
layout->addSpacing(100);
|
||||
layout->addWidget(iconLabel);
|
||||
|
Reference in New Issue
Block a user