diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-19 16:24:55 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-19 16:24:55 +0200 |
commit | 43d0ded9013b93be697c07423aa1fc3e7034848a (patch) | |
tree | 9111e76ce40bd318ddc861621369f964c37d2535 /src/urlbar/urlbar.cpp | |
parent | Merge commit 'refs/merge-requests/179' of git://gitorious.org/rekonq/mainline... (diff) | |
download | rekonq-43d0ded9013b93be697c07423aa1fc3e7034848a.tar.xz |
Simpler than I thought, fix kget integration
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r-- | src/urlbar/urlbar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 0d130b94..e64959bd 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -46,6 +46,7 @@ // KDE Includes #include <KCompletionBox> +#include <KStandardDirs> // Qt Includes #include <QtGui/QPainter> @@ -321,7 +322,7 @@ void UrlBar::loadFinished() } // show KGet downloads?? - if (ReKonfig::kgetList()) + if (!KStandardDirs::findExe("kget").isNull() && ReKonfig::kgetList()) { IconButton *bt = addRightIcon(UrlBar::KGet); connect(bt, SIGNAL(clicked(QPoint)), _tab->page(), SLOT(downloadAllContentsWithKGet(QPoint))); |