summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Di Menna <ninniuz@gmail.com>2011-09-27 10:09:15 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-09-27 10:09:15 +0200
commit7055c0b38a828e827c6eac4cbb041f51bb575e0b (patch)
treed01ab5e7dd2f5838baaf4e5cb8eb84ddb16409a3 /src
parentRemove a minor focus glitch on webpage load (diff)
downloadrekonq-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
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/urlbar.cpp2
-rw-r--r--src/webpage.cpp2
-rw-r--r--src/webpage.h2
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);