diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-30 10:21:58 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-30 10:21:58 +0200 |
commit | b4516b0bacb68179eb6f7cbff9c6474ec03cc9ab (patch) | |
tree | ac6ffe5c874627302ddbce6a7dd350e1b6efb0c6 /src/webpluginfactory.cpp | |
parent | a lot fo changes in the history/bookmarks page (restored initial method rewam... (diff) | |
download | rekonq-b4516b0bacb68179eb6f7cbff9c6474ec03cc9ab.tar.xz |
BIG BIG commit
removed:
- last closed tabs feature
- new tab page settings (unuseful, we need something better)
implemented
- new home page layout (needs love)
- new about: protocol to load home page sections
- preview images cache
todo:
- cleaning cache mechanism
- bug fixing
- add/remove to preferred actions
Diffstat (limited to 'src/webpluginfactory.cpp')
-rw-r--r-- | src/webpluginfactory.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/webpluginfactory.cpp b/src/webpluginfactory.cpp index 5ec6ad55..27799ca6 100644 --- a/src/webpluginfactory.cpp +++ b/src/webpluginfactory.cpp @@ -56,19 +56,16 @@ QObject *WebPluginFactory::create(const QString &mimeType, if(mimeType == QString("application/image-preview") ) { - QString imageUrl, pos; + QString imageUrl; for(int i = 0; i<argumentNames.count(); ++i) { if(argumentNames.at(i) == QString("url")) { imageUrl = argumentValues.at(i); - } - if(argumentNames.at(i) == QString("position")) - { - pos = argumentValues.at(i); + break; } } - return new PreviewImage(imageUrl, pos); + return new PreviewImage(imageUrl); } // this let QtWebKit using builtin plugins |