diff options
author | Andrea Di Menna <ninniuz@gmail.com> | 2011-09-27 10:09:15 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-09-27 10:09:15 +0200 |
commit | 7055c0b38a828e827c6eac4cbb041f51bb575e0b (patch) | |
tree | d01ab5e7dd2f5838baaf4e5cb8eb84ddb16409a3 | |
parent | Remove a minor focus glitch on webpage load (diff) | |
download | rekonq-7055c0b38a828e827c6eac4cbb041f51bb575e0b.tar.xz |
Fix KGet "list all links" feature
the contextual menu action was not working cause of a wrong
signal/slot connection.
This commit fixes it :)
REVIEW: 102708
REVIEWED-BY: adjam
-rw-r--r-- | src/urlbar/urlbar.cpp | 2 | ||||
-rw-r--r-- | src/webpage.cpp | 2 | ||||
-rw-r--r-- | src/webpage.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index ed00c84c..9d8ba02a 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -355,7 +355,7 @@ void UrlBar::loadFinished() if (!KStandardDirs::findExe("kget").isNull() && ReKonfig::kgetList()) { IconButton *bt = addRightIcon(UrlBar::KGet); - connect(bt, SIGNAL(clicked(QPoint)), _tab->page(), SLOT(downloadAllContentsWithKGet(QPoint))); + connect(bt, SIGNAL(clicked(QPoint)), _tab->page(), SLOT(downloadAllContentsWithKGet())); } // show RSS diff --git a/src/webpage.cpp b/src/webpage.cpp index d1f0bf9f..a7523c19 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -697,7 +697,7 @@ void WebPage::downloadUrl(const KUrl &url) } -void WebPage::downloadAllContentsWithKGet(QPoint) +void WebPage::downloadAllContentsWithKGet() { QSet<QString> contents; KUrl baseUrl(currentFrame()->url()); diff --git a/src/webpage.h b/src/webpage.h index 609141fb..8e123647 100644 --- a/src/webpage.h +++ b/src/webpage.h @@ -83,7 +83,7 @@ public: bool hasSslValid() const; public Q_SLOTS: - void downloadAllContentsWithKGet(QPoint); + void downloadAllContentsWithKGet(); virtual void downloadRequest(const QNetworkRequest &request); virtual void downloadUrl(const KUrl &url); |