X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fdockmanagernotificationbackend.cpp;h=2a6ea9bffd2623d8dbb3443c8e1fea90819098bf;hp=a243022f38e7f620ce1483dcc67dbbb14bf440de;hb=6eefdfc697067d184a589fc8a231b16316c09106;hpb=42ab7cc22c4702716db2b8bfa1d4545169f772e6 diff --git a/src/qtui/dockmanagernotificationbackend.cpp b/src/qtui/dockmanagernotificationbackend.cpp index a243022f..2a6ea9bf 100644 --- a/src/qtui/dockmanagernotificationbackend.cpp +++ b/src/qtui/dockmanagernotificationbackend.cpp @@ -28,6 +28,7 @@ #include "clientsettings.h" #include "coreconnection.h" #include "clientbacklogmanager.h" +#include "util.h" DockManagerNotificationBackend::DockManagerNotificationBackend(QObject *parent) : AbstractNotificationBackend(parent), _bus(QDBusConnection::sessionBus()) @@ -54,7 +55,7 @@ DockManagerNotificationBackend::DockManagerNotificationBackend(QObject *parent) itemAdded(QDBusObjectPath()); - connect(Client::coreConnection(), SIGNAL(progressValueChanged(int)), this, SLOT(updateProgress(int))); + connect(Client::coreConnection(), &CoreConnection::progressValueChanged, this, selectOverload(&DockManagerNotificationBackend::updateProgress)); connect(Client::coreConnection(), &CoreConnection::synchronized, this, &DockManagerNotificationBackend::synchronized); } @@ -123,7 +124,7 @@ void DockManagerNotificationBackend::updateProgress(int done, int total) void DockManagerNotificationBackend::synchronized() { - connect(Client::backlogManager(), SIGNAL(updateProgress(int, int)), this, SLOT(updateProgress(int, int))); + connect(Client::backlogManager(), &ClientBacklogManager::updateProgress, this, selectOverload(&DockManagerNotificationBackend::updateProgress)); }