X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Ftaskbarnotificationbackend.cpp;h=8b8b6c87253824c050dcdd4ede27dc40710f9ad2;hp=47109bcff97bf24b58ab7567067509117331162b;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=714b39660fe19e7f092880019429c8da76ee2bd5 diff --git a/src/qtui/taskbarnotificationbackend.cpp b/src/qtui/taskbarnotificationbackend.cpp index 47109bcf..8b8b6c87 100644 --- a/src/qtui/taskbarnotificationbackend.cpp +++ b/src/qtui/taskbarnotificationbackend.cpp @@ -95,8 +95,8 @@ TaskbarNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent) : Settin layout->addWidget(timeoutBox); layout->addStretch(20); - connect(enabledBox, SIGNAL(toggled(bool)), SLOT(widgetChanged())); - connect(enabledBox, SIGNAL(toggled(bool)), timeoutBox, SLOT(setEnabled(bool))); + connect(enabledBox, &QAbstractButton::toggled, this, &ConfigWidget::widgetChanged); + connect(enabledBox, &QAbstractButton::toggled, timeoutBox, &QWidget::setEnabled); connect(timeoutBox, SIGNAL(valueChanged(int)), SLOT(widgetChanged())); }