Commit 456263e5 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Silence (false) warnings from QtDeclarativeEngine

Change-Id: Ice8b6624c6aed41869617adaae59a509eaea7268
Reviewed-on: http://codereview.qt.nokia.com/1892

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent 79ad4534
......@@ -182,6 +182,8 @@ void WelcomeMode::initPlugins()
qSort(plugins.begin(), plugins.end(), &sortFunction);
QDeclarativeEngine *engine = m_welcomePage->engine();
if (!debug)
engine->setOutputWarningsToStandardError(false);
engine->setNetworkAccessManagerFactory(new NetworkAccessManagerFactory);
engine->addImportPath(Core::ICore::instance()->resourcePath() + "/welcomescreen");
foreach (Utils::IWelcomePage *plugin, plugins) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment