modernize: Use auto where the type is clear from context
[quassel.git] / src / qtui / chatmonitorview.cpp
index 932e2ab..d337cfc 100644 (file)
@@ -101,7 +101,7 @@ void ChatMonitorView::mouseDoubleClickEvent(QMouseEvent *event)
 
 void ChatMonitorView::showFieldsChanged(bool checked)
 {
-    QAction *showAction = qobject_cast<QAction *>(sender());
+    auto *showAction = qobject_cast<QAction *>(sender());
     if (!showAction)
         return;