summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-19 16:24:55 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-19 21:03:35 +0200
commitb76b1c77be200ca3770b9b703ae5131749f02cb8 (patch)
tree9111e76ce40bd318ddc861621369f964c37d2535 /src/urlbar
parentMerge commit 'refs/merge-requests/179' of git://gitorious.org/rekonq/mainline... (diff)
downloadrekonq-b76b1c77be200ca3770b9b703ae5131749f02cb8.tar.xz
Simpler than I thought, fix kget integration
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlbar.cpp3
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)));