modernize: Use auto where the type is clear from context
[quassel.git] / src / qtui / settingspages / sonnetsettingspage.cpp
index 8bd842a..cf893fa 100644 (file)
@@ -27,7 +27,7 @@
 SonnetSettingsPage::SonnetSettingsPage(QWidget *parent)
     : SettingsPage(tr("Interface"), tr("Spell Checking"), parent)
 {
-    QVBoxLayout *layout = new QVBoxLayout(this);
+    auto *layout = new QVBoxLayout(this);
     _configWidget = new Sonnet::ConfigWidget(this);
     layout->addWidget(_configWidget);
     connect(_configWidget, SIGNAL(configChanged()), SLOT(widgetHasChanged()));