]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Merge branch 'release/21.08'
authorNate Graham <nate@kde.org>
Sat, 17 Jul 2021 03:08:18 +0000 (23:08 -0400)
committerNate Graham <nate@kde.org>
Sat, 17 Jul 2021 03:08:18 +0000 (23:08 -0400)
src/views/dolphinview.cpp

index 9d253c4e0cb936825d11649d673b0e2873b5eb7a..f5c21a2c5561ecf16898f98b5aefeb5d61f9b3ed 100644 (file)
@@ -2094,7 +2094,7 @@ void DolphinView::updatePlaceholderLabel()
         m_placeholderLabel->setText(i18n("No items matching the filter"));
     } else if (m_url.scheme() == QLatin1String("baloosearch") || m_url.scheme() == QLatin1String("filenamesearch")) {
         m_placeholderLabel->setText(i18n("No items matching the search"));
-    } else if (m_url.scheme() == QLatin1String("trash")) {
+    } else if (m_url.scheme() == QLatin1String("trash") && m_url.path() == QLatin1String("/")) {
         m_placeholderLabel->setText(i18n("Trash is empty"));
     } else if (m_url.scheme() == QLatin1String("tags")) {
         m_placeholderLabel->setText(i18n("No tags"));