modernize: Use auto where the type is clear from context
[quassel.git] / src / qtui / taskbarnotificationbackend.cpp
index ef9736f..47109bc 100644 (file)
@@ -78,7 +78,7 @@ SettingsPage *TaskbarNotificationBackend::createConfigWidget() const
 
 TaskbarNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent) : SettingsPage("Internal", "TaskbarNotification", parent)
 {
-    QHBoxLayout *layout = new QHBoxLayout(this);
+    auto *layout = new QHBoxLayout(this);
 #ifdef Q_OS_MAC
     layout->addWidget(enabledBox = new QCheckBox(tr("Activate dock entry, timeout:"), this));
 #else