mirror of
https://github.com/YACReader/yacreader
synced 2025-11-13 21:42:50 -05: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