summaryrefslogtreecommitdiffstats
path: root/DVDPluginWebPage.cpp
diff options
context:
space:
mode:
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)
{