summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 62acbba6..df629fc8 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -305,8 +305,8 @@ void WebView::downloadRequested(const QNetworkRequest &request)
const KUrl url = KUrl( request.url() );
KConfig config("rekonqrc");
- KConfigGroup group1 = config.group("Global Settings");
- QString path = group1.readEntry(QString("downloadDirectory")) + QString("/") + url.fileName();
+ KConfigGroup group = config.group("General");
+ QString path = group.readEntry(QString("downloadDir")) + QString("/") + url.fileName();
KIO::NetAccess::download( url , path , this );
}