X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fdockmanagernotificationbackend.cpp;h=a243022f38e7f620ce1483dcc67dbbb14bf440de;hb=a0e333e994dce2d949a84930293382020e724596;hp=53557fe52d82e8aa127e9d6247fb84e36a4965c1;hpb=e2188dc438be6f3eb0d9cdf47d28821aefe9835e;p=quassel.git diff --git a/src/qtui/dockmanagernotificationbackend.cpp b/src/qtui/dockmanagernotificationbackend.cpp index 53557fe5..a243022f 100644 --- a/src/qtui/dockmanagernotificationbackend.cpp +++ b/src/qtui/dockmanagernotificationbackend.cpp @@ -55,7 +55,7 @@ DockManagerNotificationBackend::DockManagerNotificationBackend(QObject *parent) itemAdded(QDBusObjectPath()); connect(Client::coreConnection(), SIGNAL(progressValueChanged(int)), this, SLOT(updateProgress(int))); - connect(Client::coreConnection(), SIGNAL(synchronized()), this, SLOT(synchronized())); + connect(Client::coreConnection(), &CoreConnection::synchronized, this, &DockManagerNotificationBackend::synchronized); } @@ -184,7 +184,7 @@ DockManagerNotificationBackend::ConfigWidget::ConfigWidget(bool enabled, QWidget layout->addWidget(enabledBox = new QCheckBox(tr("Mark dockmanager entry"), this)); enabledBox->setVisible(enabled); - connect(enabledBox, SIGNAL(toggled(bool)), SLOT(widgetChanged())); + connect(enabledBox, &QAbstractButton::toggled, this, &ConfigWidget::widgetChanged); }