diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-01-18 02:10:22 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-01-18 02:10:22 +0100 |
commit | 195641eb0e7972b32756e95340ebd48c21a7feaf (patch) | |
tree | 7f17e16782fb8961fd4a7d17b1bf2e7bc5d440b6 /src/webview.cpp | |
parent | Some moc adds and webview fixing.. (diff) | |
download | rekonq-195641eb0e7972b32756e95340ebd48c21a7feaf.tar.xz |
Partially ported rekonq to KConfigXT technology..
Perhaps ~50%..going on!!
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 4 |
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 ); } |