Verified Commit c3328db8 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Normalize some signatures

parent 8cffbd2f
......@@ -36,12 +36,14 @@ void MonitorPrivate::handleServiceRegistered()
{
QDBusConnection bus = QDBusConnection::sessionBus();
// clang-format off
const bool connected = bus.connect(s_serviceName,
s_nightColorPath,
s_propertiesInterface,
QStringLiteral("PropertiesChanged"),
this,
SLOT(handlePropertiesChanged(QString, QVariantMap, QStringList)));
SLOT(handlePropertiesChanged(QString,QVariantMap,QStringList)));
// clang-format on
if (!connected) {
return;
}
......@@ -68,12 +70,14 @@ void MonitorPrivate::handleServiceUnregistered()
{
QDBusConnection bus = QDBusConnection::sessionBus();
// clang-format off
bus.disconnect(s_serviceName,
s_nightColorPath,
s_propertiesInterface,
QStringLiteral("PropertiesChanged"),
this,
SLOT(handlePropertiesChanged(QString, QVariantMap, QStringList)));
SLOT(handlePropertiesChanged(QString,QVariantMap,QStringList)));
// clang-format on
setAvailable(false);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment