mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
DolphinView: Add placeholder label for AFC kio
Similar to how it's special-cased for MTP
This commit is contained in:
parent
628a2bbb64
commit
fcdb202577
|
@ -2264,6 +2264,8 @@ void DolphinView::updatePlaceholderLabel()
|
||||||
m_placeholderLabel->setText(i18n("No relevant network resources found"));
|
m_placeholderLabel->setText(i18n("No relevant network resources found"));
|
||||||
} else if (m_url.scheme() == QLatin1String("mtp") && m_url.path() == QLatin1String("/")) {
|
} else if (m_url.scheme() == QLatin1String("mtp") && m_url.path() == QLatin1String("/")) {
|
||||||
m_placeholderLabel->setText(i18n("No MTP-compatible devices found"));
|
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")) {
|
} else if (m_url.scheme() == QLatin1String("bluetooth")) {
|
||||||
m_placeholderLabel->setText(i18n("No Bluetooth devices found"));
|
m_placeholderLabel->setText(i18n("No Bluetooth devices found"));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue