┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2026-03-20 17:49:15 +0100
committerMéven Car <[email protected]>2026-03-21 12:11:18 +0000
commitdfef28748e4e9af8aefd969e24689e68698b74a3 (patch)
treefe490e15bef9e5abadddc4c0efdbe492bf7d308c /src/views
parentc865d52be2f9f419f6b8c861649e1adf134d5431 (diff)
dolphinview: Add placeholder for KDE Connect folder
When no device was found or no storage within.
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphinview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index 2213e2c82..794223861 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -2752,6 +2752,12 @@ void DolphinView::updatePlaceholderLabel()
m_placeholderLabel->setText(i18n("No MTP-compatible devices found"));
} else if (m_url.scheme() == QLatin1String("afc") && m_url.path() == QLatin1String("/")) {
m_placeholderLabel->setText(i18n("No Apple devices found"));
+ } else if (m_url.scheme() == QLatin1String("kdeconnect") && m_url.path() == QLatin1String("/")) {
+ if (m_url.host().isEmpty()) {
+ m_placeholderLabel->setText(i18n("No KDE Connect devices found"));
+ } else {
+ m_placeholderLabel->setText(i18n("No storage found on this device"));
+ }
} else if (m_url.scheme() == QLatin1String("bluetooth")) {
m_placeholderLabel->setText(i18n("No Bluetooth devices found"));
} else {