forked from qt-creator/qt-creator
Silence (false) warnings from QtDeclarativeEngine
Change-Id: Ice8b6624c6aed41869617adaae59a509eaea7268 Reviewed-on: http://codereview.qt.nokia.com/1892 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user