modernize: Use auto where the type is clear from context
[quassel.git] / src / qtui / settingspages / notificationssettingspage.cpp
index 2c164bc..5b9795a 100644 (file)
@@ -27,7 +27,7 @@
 NotificationsSettingsPage::NotificationsSettingsPage(QWidget *parent)
     : SettingsPage(tr("Interface"), tr("Notifications"), parent)
 {
-    QVBoxLayout *layout = new QVBoxLayout(this);
+    auto *layout = new QVBoxLayout(this);
     foreach(AbstractNotificationBackend *backend, QtUi::notificationBackends()) {
         SettingsPage *cw = backend->createConfigWidget();
         if (cw) {