summaryrefslogtreecommitdiff
path: root/src/newtabpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newtabpage.cpp')
-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));
+ }
}