Fixed old signal name
This commit is contained in:
parent
49a24c258b
commit
1848e96a91
3 changed files with 6 additions and 6 deletions
|
@ -183,7 +183,7 @@ void Daemon::onNewDeviceLink(const NetworkPackage& identityPackage, DeviceLink*
|
|||
device->deleteLater();
|
||||
} else {
|
||||
connect(device, SIGNAL(reachableStatusChanged()), this, SLOT(onDeviceStatusChanged()));
|
||||
connect(device, SIGNAL(pairingChanged(bool)), this, SLOT(onDeviceStatusChanged()));
|
||||
connect(device, SIGNAL(trustedChanged(bool)), this, SLOT(onDeviceStatusChanged()));
|
||||
d->mDevices[id] = device;
|
||||
|
||||
Q_EMIT deviceAdded(id);
|
||||
|
|
|
@ -193,8 +193,8 @@ void KdeConnectKcm::deviceSelected(const QModelIndex& current)
|
|||
resetDeviceView();
|
||||
|
||||
connect(currentDevice, SIGNAL(pluginsChanged()), this, SLOT(resetCurrentDevice()));
|
||||
connect(currentDevice, SIGNAL(pairingChanged(bool)), this, SLOT(pairingChanged(bool)));
|
||||
connect(currentDevice, SIGNAL(pairingFailed(QString)), this, SLOT(pairingFailed(QString)));
|
||||
connect(currentDevice, SIGNAL(trustedChanged(bool)), this, SLOT(trustedChanged(bool)));
|
||||
connect(currentDevice, SIGNAL(pairingError(QString)), this, SLOT(pairingFailed(QString)));
|
||||
}
|
||||
|
||||
void KdeConnectKcm::resetCurrentDevice()
|
||||
|
@ -266,13 +266,13 @@ void KdeConnectKcm::pairingFailed(const QString& error)
|
|||
{
|
||||
if (sender() != currentDevice) return;
|
||||
|
||||
pairingChanged(false);
|
||||
trustedChanged(false);
|
||||
|
||||
kcmUi->messages->setText(i18n("Error trying to pair: %1",error));
|
||||
kcmUi->messages->animatedShow();
|
||||
}
|
||||
|
||||
void KdeConnectKcm::pairingChanged(bool paired)
|
||||
void KdeConnectKcm::trustedChanged(bool paired)
|
||||
{
|
||||
DeviceDbusInterface* senderDevice = (DeviceDbusInterface*) sender();
|
||||
if (senderDevice != currentDevice) return;
|
||||
|
|
|
@ -53,7 +53,7 @@ private Q_SLOTS:
|
|||
void pluginsConfigChanged();
|
||||
void sendPing();
|
||||
void resetSelection();
|
||||
void pairingChanged(bool);
|
||||
void trustedChanged(bool);
|
||||
void pairingFailed(const QString& error);
|
||||
void refresh();
|
||||
void renameShow();
|
||||
|
|
Loading…
Reference in a new issue