summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newtabpage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp
index 8973cf4c..5101b0e1 100644
--- a/src/newtabpage.cpp
+++ b/src/newtabpage.cpp
@@ -651,6 +651,12 @@ void NewTabPage::downloadsPage(const QString & filter)
i++;
}
+
+ if (i==0)
+ {
+ m_root.addClass(QL1S("empty"));
+ m_root.setPlainText(i18n("No matches for string %1 in downloads", filter));
+ }
}