Commit ba9fbb6b authored by Egor Ignatov's avatar Egor Ignatov Committed by Nicolas Fella
Browse files

[kio] Add trailing slash to device url

The absence of a trailing slash makes the QUrl's path field empty,
which make the url invalid.

BUG: 409179
(cherry picked from commit 1427e66a)
parent 88f8aec3
......@@ -169,7 +169,7 @@ void KioBluetooth::listDevice(const DeviceInfo device)
QString target = QStringLiteral("bluetooth://");
target.append(QString(device[QStringLiteral("address")]).replace(QLatin1Char(':'), QLatin1Char('-')));
target.append(QString(device[QStringLiteral("address")]).replace(QLatin1Char(':'), QLatin1Char('-')) + QLatin1Char('/'));
KIO::UDSEntry entry;
entry.fastInsert(KIO::UDSEntry::UDS_URL, target);
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