Fix clazy warning about re-defining signal
This commit is contained in:
parent
f5b4a174e4
commit
2cfde60ab9
2 changed files with 3 additions and 4 deletions
|
@ -21,7 +21,6 @@ QString DaemonDbusInterface::activatedService()
|
|||
DaemonDbusInterface::DaemonDbusInterface(QObject *parent)
|
||||
: OrgKdeKdeconnectDaemonInterface(DaemonDbusInterface::activatedService(), QStringLiteral("/modules/kdeconnect"), QDBusConnection::sessionBus(), parent)
|
||||
{
|
||||
connect(this, &OrgKdeKdeconnectDaemonInterface::pairingRequestsChanged, this, &DaemonDbusInterface::pairingRequestsChangedProxy);
|
||||
connect(this, &OrgKdeKdeconnectDaemonInterface::customDevicesChanged, this, &DaemonDbusInterface::customDevicesChangedProxy);
|
||||
}
|
||||
|
||||
|
@ -152,7 +151,7 @@ RemoteKeyboardDbusInterface::RemoteKeyboardDbusInterface(const QString &deviceId
|
|||
QDBusConnection::sessionBus(),
|
||||
parent)
|
||||
{
|
||||
connect(this, &OrgKdeKdeconnectDeviceRemotekeyboardInterface::remoteStateChanged, this, &RemoteKeyboardDbusInterface::remoteStateChanged);
|
||||
connect(this, &OrgKdeKdeconnectDeviceRemotekeyboardInterface::remoteStateChanged, this, &RemoteKeyboardDbusInterface::remoteStateChangedProxy);
|
||||
}
|
||||
|
||||
SmsDbusInterface::SmsDbusInterface(const QString &deviceId, QObject *parent)
|
||||
|
|
|
@ -194,11 +194,11 @@ public:
|
|||
class KDECONNECTINTERFACES_EXPORT RemoteKeyboardDbusInterface : public OrgKdeKdeconnectDeviceRemotekeyboardInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(bool remoteState READ remoteState NOTIFY remoteStateChanged)
|
||||
Q_PROPERTY(bool remoteState READ remoteState NOTIFY remoteStateChangedProxy)
|
||||
public:
|
||||
explicit RemoteKeyboardDbusInterface(const QString &deviceId, QObject *parent = nullptr);
|
||||
Q_SIGNALS:
|
||||
void remoteStateChanged(bool state);
|
||||
void remoteStateChangedProxy(bool state);
|
||||
};
|
||||
|
||||
class KDECONNECTINTERFACES_EXPORT SmsDbusInterface : public OrgKdeKdeconnectDeviceSmsInterface
|
||||
|
|
Loading…
Reference in a new issue