X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fosxnotificationbackend.mm;h=5294431a8478ad3858aef3bd3d7fb135096aa647;hp=738ee265d26387f20326e5245daa58ac5956cc22;hb=6eefdfc697067d184a589fc8a231b16316c09106;hpb=42ab7cc22c4702716db2b8bfa1d4545169f772e6 diff --git a/src/qtui/osxnotificationbackend.mm b/src/qtui/osxnotificationbackend.mm index 738ee265..5294431a 100644 --- a/src/qtui/osxnotificationbackend.mm +++ b/src/qtui/osxnotificationbackend.mm @@ -86,7 +86,7 @@ OSXNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent) : SettingsPage("Internal", "OSXNotification", parent) { _enabledBox = new QCheckBox(tr("Show OS X notifications")); - connect(_enabledBox, SIGNAL(toggled(bool)), this, SLOT(widgetChanged())); + connect(_enabledBox, &QCheckBox::toggled, this, &ConfigWidget::widgetChanged); QHBoxLayout *layout = new QHBoxLayout(this); layout->addWidget(_enabledBox); }