WinRT: Initialize platform services

platformServices has not been created and caused a crash as soon as an
URL gets opened.

Task-number: QTBUG-48740
Change-Id: Ib099a0ff3007b168738e02c0fab8f9ca7bcd25c7
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
bb10
Maurice Kalinowski 2015-10-16 12:51:45 +02:00 committed by Simon Hausmann
parent 4f829afc61
commit d49c0eb3fc
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,8 @@ QWinRTIntegration::QWinRTIntegration() : d_ptr(new QWinRTIntegrationPrivate)
return S_OK;
});
Q_ASSERT_SUCCEEDED(hr);
d->platformServices = new QWinRTServices;
}
QWinRTIntegration::~QWinRTIntegration()