summaryrefslogtreecommitdiffstats
path: root/DVDPluginWebPage.cpp
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2009-12-03 05:52:14 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2009-12-03 05:52:14 -0500
commit389331fb00bced53e725e96012eca08dd17c45f1 (patch)
tree41734edf84ca7619abd414d98d380015e675e436 /DVDPluginWebPage.cpp
parentBuild on OSX (diff)
downloadEmbeddedBrowserPrototype-389331fb00bced53e725e96012eca08dd17c45f1.tar.xz
EmbeddedBrowserPrototype-389331fb00bced53e725e96012eca08dd17c45f1.zip
Smarter attachment of WinId.
Diffstat (limited to 'DVDPluginWebPage.cpp')
-rw-r--r--DVDPluginWebPage.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/DVDPluginWebPage.cpp b/DVDPluginWebPage.cpp
index 6e1392b..487456d 100644
--- a/DVDPluginWebPage.cpp
+++ b/DVDPluginWebPage.cpp
@@ -13,9 +13,7 @@ QObject* DVDPluginWebPage::createPlugin(const QString &classid, const QUrl &url,
Q_UNUSED(paramNames);
Q_UNUSED(paramValues);
qDebug() << "asked to create" << classid;
- QObject *obj = static_cast<QObject*>(QMetaType::construct(QMetaType::type(classid.toLatin1())));
- qDebug() << obj;
- return obj;
+ return static_cast<QObject*>(QMetaType::construct(QMetaType::type(classid.toLatin1())));
}
void DVDPluginWebPage::javaScriptConsoleMessage(const QString &message, int lineNumber, const QString &sourceID)
{