From dfef28748e4e9af8aefd969e24689e68698b74a3 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Fri, 20 Mar 2026 17:49:15 +0100 Subject: dolphinview: Add placeholder for KDE Connect folder When no device was found or no storage within. --- src/views/dolphinview.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/views') 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 { -- cgit v1.3