summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-01-18 02:10:22 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-01-18 02:10:22 +0100
commit195641eb0e7972b32756e95340ebd48c21a7feaf (patch)
tree7f17e16782fb8961fd4a7d17b1bf2e7bc5d440b6 /src/webview.cpp
parentSome moc adds and webview fixing.. (diff)
downloadrekonq-195641eb0e7972b32756e95340ebd48c21a7feaf.tar.xz
Partially ported rekonq to KConfigXT technology..
Perhaps ~50%..going on!!
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 );
}