winrt: fix compiler warning on Windows Phone

qwinrtscreen(1010): 'd': local variable is initialized but not referenced

Change-Id: Ic21a9bc087d8418ad9f01b263677438a4db8f493
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
This commit is contained in:
Jochen Seemann 2014-09-23 12:03:22 +02:00
parent 541b387c10
commit fbc4bce710

View File

@ -1007,8 +1007,8 @@ HRESULT QWinRTScreen::onPointerUpdated(ICoreWindow *, IPointerEventArgs *args)
HRESULT QWinRTScreen::onAutomationProviderRequested(ICoreWindow *, IAutomationProviderRequestedEventArgs *args)
{
Q_D(const QWinRTScreen);
#ifndef Q_OS_WINPHONE
Q_D(const QWinRTScreen);
args->put_AutomationProvider(d->inputContext.Get());
#else
Q_UNUSED(args)