summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
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/webpage.cpp
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/webpage.cpp')
-rw-r--r--src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index ea2add6d..8221626e 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -139,7 +139,7 @@ static bool downloadResource (const KUrl& srcUrl, const KIO::MetaData& metaData
// Save download history
Application::instance()->addDownload(srcUrl.pathOrUrl() , destUrl.pathOrUrl());
- if (ReKonfig::kgetDownload())
+ if (!KStandardDirs::findExe("kget").isNull() && ReKonfig::kgetDownload())
{
//KGet integration:
if (!QDBusConnection::sessionBus().interface()->isServiceRegistered("org.kde.kget"))