clazy: Convert many old-style connects into function pointer based
[quassel.git] / src / qtui / systraynotificationbackend.cpp
index 138364c..eaec2f7 100644 (file)
@@ -144,7 +144,7 @@ SystrayNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent) : Settin
 {
     _showBubbleBox = new QCheckBox(tr("Show a message in a popup"));
     _showBubbleBox->setIcon(icon::get("dialog-information"));
-    connect(_showBubbleBox, SIGNAL(toggled(bool)), this, SLOT(widgetChanged()));
+    connect(_showBubbleBox, &QAbstractButton::toggled, this, &ConfigWidget::widgetChanged);
     auto *layout = new QHBoxLayout(this);
     layout->addWidget(_showBubbleBox);
 }