Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37595512
en ru br
ALT Linux repos
S:5.27.8-alt1

Group :: Graphical desktop/KDE
RPM: plasma5-bluedevil

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-kio-fix-sendfile.patch
Download


From b63c62a009756a84505db146c5c7c76d42ed84d9 Mon Sep 17 00:00:00 2001
From: Egor Ignatov <egori@altlinux.org>
Date: Mon, 12 Apr 2021 15:42:58 +0300
Subject: [PATCH] Fix sendfile for KIO
Signed-off-by: Egor Ignatov <egori@altlinux.org>
---
 bluedevil/src/kio/bluetooth/kiobluetooth.cpp             | 2 +-
 bluedevil/src/sendfile/org.kde.bluedevilsendfile.desktop | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/bluedevil/src/kio/bluetooth/kiobluetooth.cpp b/bluedevil/src/kio/bluetooth/kiobluetooth.cpp
index c1907040..ca8286cd 100644
--- a/bluedevil/src/kio/bluetooth/kiobluetooth.cpp
+++ b/bluedevil/src/kio/bluetooth/kiobluetooth.cpp
@@ -169,7 +169,7 @@ void KioBluetooth::listDevice(const DeviceInfo device)
         return;
     }
     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);
diff --git a/bluedevil/src/sendfile/org.kde.bluedevilsendfile.desktop b/bluedevil/src/sendfile/org.kde.bluedevilsendfile.desktop
index 54ef5836..9c739fb6 100644
--- a/bluedevil/src/sendfile/org.kde.bluedevilsendfile.desktop
+++ b/bluedevil/src/sendfile/org.kde.bluedevilsendfile.desktop
@@ -136,9 +136,10 @@ Comment[zh_CN]=BlueDevil 文件发送
 Comment[zh_TW]=BlueDevil 傳送檔案
 
 Type=Application
-Exec=bluedevil-sendfile
+Exec=bluedevil-sendfile -k %u
 Icon=preferences-system-bluetooth
 Terminal=false
 NoDisplay=true
 Categories=Qt;KDE;X-Bluetooth;Network;
 X-DBUS-ServiceName=org.kde.bluedevilsendfile
+MimeType=application/vnd.kde.bluedevil-sendfile
-- 
2.25.4
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin