Clang tidy (#2372)
* Added missing braces * applied some clang modernize * clarified auto pointer * clang-tidy
This commit is contained in:
@@ -30,7 +30,7 @@ NotificationWidget::NotificationWidget(QWidget* parent)
|
||||
connect(
|
||||
m_hideAnimation, &QPropertyAnimation::finished, m_label, &QLabel::hide);
|
||||
|
||||
auto mainLayout = new QVBoxLayout();
|
||||
auto* mainLayout = new QVBoxLayout();
|
||||
setLayout(mainLayout);
|
||||
|
||||
mainLayout->addWidget(m_content);
|
||||
|
||||
Reference in New Issue
Block a user