From b76b1c77be200ca3770b9b703ae5131749f02cb8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 19 Aug 2010 16:24:55 +0200 Subject: Simpler than I thought, fix kget integration --- src/urlbar/urlbar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/urlbar') 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 +#include // Qt Includes #include @@ -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))); -- cgit v1.2.1