diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-01 12:02:30 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-01 12:02:30 +0200 |
commit | 01e5c03236fa589b719544f478ea036b8b1e2ee7 (patch) | |
tree | f13f954c326113b2aa92f172f97cfd4c05f7fac2 /src/webpluginfactory.cpp | |
parent | Setting session and request metadata about ssl navigation (diff) | |
download | rekonq-01e5c03236fa589b719544f478ea036b8b1e2ee7.tar.xz |
Code fixes in the homepage
also changed history && bookmarks layout (we need just icons there)
Diffstat (limited to 'src/webpluginfactory.cpp')
-rw-r--r-- | src/webpluginfactory.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/webpluginfactory.cpp b/src/webpluginfactory.cpp index 27799ca6..5d99ff6d 100644 --- a/src/webpluginfactory.cpp +++ b/src/webpluginfactory.cpp @@ -50,22 +50,14 @@ QObject *WebPluginFactory::create(const QString &mimeType, const QStringList &argumentNames, const QStringList &argumentValues) const { - Q_UNUSED(url) + Q_UNUSED(argumentNames) + Q_UNUSED(argumentValues) kDebug() << "loading mimeType: " << mimeType; if(mimeType == QString("application/image-preview") ) { - QString imageUrl; - for(int i = 0; i<argumentNames.count(); ++i) - { - if(argumentNames.at(i) == QString("url")) - { - imageUrl = argumentValues.at(i); - break; - } - } - return new PreviewImage(imageUrl); + return new PreviewImage(url); } // this let QtWebKit using builtin plugins |