diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-05-08 11:16:50 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-05-15 09:53:42 +0200 |
commit | a8224cfb6df7d0a1f60c3ca603171a152179e71d (patch) | |
tree | 462675ffaef580dc25bbcaea70221dd7d3573b73 /src/newtabpage.cpp | |
parent | Add font: Nunito regular (diff) | |
download | rekonq-a8224cfb6df7d0a1f60c3ca603171a152179e71d.tar.xz |
about:downloads grey links
Diffstat (limited to 'src/newtabpage.cpp')
-rw-r--r-- | src/newtabpage.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp index aadaf930..87d2ca5a 100644 --- a/src/newtabpage.cpp +++ b/src/newtabpage.cpp @@ -511,11 +511,14 @@ void NewTabPage::downloadsPage() if (QFile::exists(file)) { div.appendInside(markup(QL1S("a"))); + div.lastChild().setAttribute(QL1S("class"), QL1S("greylink")); div.lastChild().setAttribute(QL1S("href"), QL1S("file://") + dir); div.lastChild().setPlainText(i18n("Open directory")); div.appendInside(QL1S(" - ")); + div.appendInside(markup(QL1S("a"))); + div.lastChild().setAttribute(QL1S("class"), QL1S("greylink")); div.lastChild().setAttribute(QL1S("href"), QL1S("file://") + file); div.lastChild().setPlainText(i18n("Open file")); } |