summaryrefslogtreecommitdiffstats
path: root/desktop-plasma/patches
diff options
context:
space:
mode:
authorWolfgang Müller2025-01-17 19:48:16 +0100
committerWolfgang Müller2025-01-17 19:48:16 +0100
commit6766c0deaa9e6073632ea9f339a69b8127cc1b16 (patch)
tree753db63630558147654a6c64d54084e2cdc09629 /desktop-plasma/patches
parent893076e138548c2286789c3a5f7c927da2326e5a (diff)
downloadportage-roles-6766c0deaa9e6073632ea9f339a69b8127cc1b16.tar.gz
desktop-plasma: Add patch changing the smartphone icon for KDE Connect
This is just for personal preference.
Diffstat (limited to 'desktop-plasma/patches')
-rw-r--r--desktop-plasma/patches/kde-misc/kdeconnect/0001-Use-smartphone-icon-for-KDE-Connect-devices-in-Dolph.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/desktop-plasma/patches/kde-misc/kdeconnect/0001-Use-smartphone-icon-for-KDE-Connect-devices-in-Dolph.patch b/desktop-plasma/patches/kde-misc/kdeconnect/0001-Use-smartphone-icon-for-KDE-Connect-devices-in-Dolph.patch
new file mode 100644
index 0000000..b15dcf5
--- /dev/null
+++ b/desktop-plasma/patches/kde-misc/kdeconnect/0001-Use-smartphone-icon-for-KDE-Connect-devices-in-Dolph.patch
@@ -0,0 +1,26 @@
+From a3b5f463b46d8f850a9e4eb0f3730d46b99de114 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= <wolf@oriole.systems>
+Date: Sat, 28 Sep 2024 11:45:39 +0200
+Subject: [PATCH] Use "smartphone" icon for KDE Connect devices in Dolphin
+ places
+
+---
+ plugins/sftp/sftpplugin.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/sftp/sftpplugin.cpp b/plugins/sftp/sftpplugin.cpp
+index b72a38c3..b0c22474 100644
+--- a/plugins/sftp/sftpplugin.cpp
++++ b/plugins/sftp/sftpplugin.cpp
+@@ -42,7 +42,7 @@ void SftpPlugin::addToDolphin()
+ removeFromDolphin();
+
+ QUrl kioUrl(QStringLiteral("kdeconnect://") + deviceId + QStringLiteral("/"));
+- m_placesModel.addPlace(device()->name(), kioUrl, QStringLiteral("kdeconnect"));
++ m_placesModel.addPlace(device()->name(), kioUrl, QStringLiteral("smartphone"));
+ qCDebug(KDECONNECT_PLUGIN_SFTP) << "add to dolphin";
+ }
+
+--
+2.46.2
+