summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-05-15 09:52:44 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-05-15 09:53:43 +0200
commit43f5328140dec166c14f67625b210c12ff4e7db8 (patch)
tree72c55556bf12b9f5996f3a29581018c6a68720f2 /src
parentAnother CSS clean up (last??) (diff)
downloadrekonq-43f5328140dec166c14f67625b210c12ff4e7db8.tar.xz
Added info when no downloads are found on search
Diffstat (limited to 'src')
-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));
+ }
}