Do not get deviceId by reference

This commit is contained in:
Albert Vaca Cintora 2023-07-26 21:40:52 +02:00
parent 5af0a74f11
commit 74e9cdbf12

View file

@ -156,7 +156,7 @@ QMap<QString, QString> Daemon::deviceNames(bool onlyReachable, bool onlyTrusted)
void Daemon::onNewDeviceLink(DeviceLink *link)
{
const QString &id = link->deviceId();
QString id = link->deviceId();
// qCDebug(KDECONNECT_CORE) << "Device discovered" << id << "via" << dl->name();