summaryrefslogtreecommitdiff
path: root/src/webpluginfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpluginfactory.cpp')
-rw-r--r--src/webpluginfactory.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/webpluginfactory.cpp b/src/webpluginfactory.cpp
index 3754c03d..9ff0011d 100644
--- a/src/webpluginfactory.cpp
+++ b/src/webpluginfactory.cpp
@@ -28,15 +28,11 @@
#include "webpluginfactory.h"
#include "webpluginfactory.moc"
-#include "webview.h"
-#include "webpage.h"
-
-#include "websnap.h"
-
-#include <QWebFrame>
-
#include "application.h"
#include "mainwindow.h"
+#include "previewimage.h"
+
+#include <KDebug>
WebPluginFactory::WebPluginFactory(QObject *parent)
: QWebPluginFactory(parent)
@@ -66,7 +62,7 @@ QObject *WebPluginFactory::create(const QString &mimeType,
url = argumentValues.at(i);
++i;
}
- return new WebSnap(url,fileName);
+ return new PreviewImage(url,fileName);
}
kDebug() << "No plugins found for" << mimeType;