summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 579e6a78..65295294 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -88,8 +88,8 @@ WebView::WebView(QWidget* parent)
connect(this, SIGNAL(linkMiddleOrCtrlClicked(KUrl)), this, SLOT(loadUrlInNewTab(KUrl)));
// loadUrl signal
- connect(this, SIGNAL(loadUrl(KUrl,Rekonq::OpenType)),
- rApp, SLOT(loadUrl(KUrl,Rekonq::OpenType)));
+ connect(this, SIGNAL(loadUrl(KUrl, Rekonq::OpenType)),
+ rApp, SLOT(loadUrl(KUrl, Rekonq::OpenType)));
// Auto scroll timer
connect(m_autoScrollTimer, SIGNAL(timeout()), this, SLOT(scrollFrameChanged()));
@@ -278,15 +278,15 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
a = new KAction(KIcon("view-preview"), i18n("&View Image"), this);
a->setData(result.imageUrl());
- connect(a, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)),
- this, SLOT(viewImage(Qt::MouseButtons,Qt::KeyboardModifiers)));
+ connect(a, SIGNAL(triggered(Qt::MouseButtons, Qt::KeyboardModifiers)),
+ this, SLOT(viewImage(Qt::MouseButtons, Qt::KeyboardModifiers)));
menu.addAction(a);
menu.addAction(pageAction(KWebPage::DownloadImageToDisk));
a = new KAction(KIcon("view-media-visualization"), i18n("&Copy Image Location"), this);
a->setData(result.imageUrl());
- connect(a, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), this, SLOT(slotCopyImageLocation()));
+ connect(a, SIGNAL(triggered(Qt::MouseButtons, Qt::KeyboardModifiers)), this, SLOT(slotCopyImageLocation()));
menu.addAction(a);
if (rApp->adblockManager()->isEnabled())
@@ -910,7 +910,7 @@ void WebView::loadUrlInNewTab(const KUrl &u)
{
QNetworkRequest req(u);
req.setRawHeader(QByteArray("Referer"), url().toEncoded());
-
+
WebTab *w = 0;
if (ReKonfig::openLinksInNewWindow())
{