summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-01-02 17:44:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-01-02 17:44:58 +0100
commit6b59f402f33e5c78279429850fb11de558fb6ea2 (patch)
tree0527f59c917d6ddf67691d1d01759ce6386e33fe /src/webpage.cpp
parentFix "share" action (diff)
downloadrekonq-6b59f402f33e5c78279429850fb11de558fb6ea2.tar.xz
Do NOT load previews if not present
This fixes problems on unwanted connections while using rekonq.
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 61cc50d6..9dee0967 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -6,7 +6,7 @@
* Copyright (C) 2008 Dirk Mueller <mueller@kde.org>
* Copyright (C) 2008 Urs Wolfer <uwolfer @ kde.org>
* Copyright (C) 2008 Michael Howell <mhowell123@gmail.com>
-* Copyright (C) 2008-2011 by Andrea Diamantini <adjam7 at gmail dot com>
+* Copyright (C) 2008-2012 by Andrea Diamantini <adjam7 at gmail dot com>
* Copyright (C) 2010 by Matthieu Gicquel <matgic78 at gmail dot com>
* Copyright (C) 2009-2010 Dawit Alemayehu <adawit at kde dot org>
*
@@ -45,7 +45,6 @@
#include "mainview.h"
#include "mainwindow.h"
#include "networkaccessmanager.h"
-#include "newtabpage.h"
#include "urlbar.h"
#include "webpluginfactory.h"
#include "websnap.h"
@@ -615,16 +614,6 @@ void WebPage::showSSLInfo(QPoint pos)
}
-void WebPage::updateImage(bool ok)
-{
- if (ok)
- {
- NewTabPage p(mainFrame());
- p.updateThumbs();
- }
-}
-
-
void WebPage::copyToTempFileResult(KJob* job)
{
if (job->error())