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 16:24:55 +0200
commit43d0ded9013b93be697c07423aa1fc3e7034848a (patch)
tree9111e76ce40bd318ddc861621369f964c37d2535 /src/urlbar
parentMerge commit 'refs/merge-requests/179' of git://gitorious.org/rekonq/mainline... (diff)
downloadrekonq-43d0ded9013b93be697c07423aa1fc3e7034848a.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)));