PDA

View Full Version : QWebPluginFactory problem. Create is called too many times.



bpetty
17th May 2008, 19:06
Hey guys, I don't know if this is a Qt 4.4.0 bug or not... but when I set my plugin factory on my QWebPage object, my factories create(...) method gets call twice when I add *one* object to my page... FIVE times when I add *two* objects to the page!

Is this something I should be worried about or does Qt actually know what it is doing?

This seems like a waste to me. Has anyone seen these issues? I put a QMessageBox in my create method and the mime types all match... so that is good. I just don't understand why it is calling create more times than I have objects!