From fcdb202577f3368e85a685bfc4b851e7ddc797c8 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Tue, 29 Nov 2022 20:31:26 +0100 Subject: [PATCH] DolphinView: Add placeholder label for AFC kio Similar to how it's special-cased for MTP --- src/views/dolphinview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 5f331dc27..c84e642dc 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -2264,6 +2264,8 @@ void DolphinView::updatePlaceholderLabel() m_placeholderLabel->setText(i18n("No relevant network resources found")); } else if (m_url.scheme() == QLatin1String("mtp") && m_url.path() == QLatin1String("/")) { 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("bluetooth")) { m_placeholderLabel->setText(i18n("No Bluetooth devices found")); } else {