winrt: Do not shadow variable
Change-Id: I70fc9254bfdfe42bf0e8d379537eb60b21be8275 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
7912ac5d67
commit
3e5e2cd3bd
@ -322,9 +322,9 @@ QVariant QWinRTInternalMimeData::retrieveData_sys(const QString &mimetype, QVari
|
||||
hr = res.As(&propertyValue);
|
||||
if (SUCCEEDED(hr)) {
|
||||
// We need to check which type of custom data we are receiving
|
||||
PropertyType type;
|
||||
propertyValue->get_Type(&type);
|
||||
switch (type) {
|
||||
PropertyType propertyType;
|
||||
propertyValue->get_Type(&propertyType);
|
||||
switch (propertyType) {
|
||||
case PropertyType_UInt8: {
|
||||
quint8 v;
|
||||
hr = propertyValue->GetUInt8(&v);
|
||||
@ -410,7 +410,7 @@ QVariant QWinRTInternalMimeData::retrieveData_sys(const QString &mimetype, QVari
|
||||
return S_OK;
|
||||
}
|
||||
default:
|
||||
qCDebug(lcQpaMime) << "Unknown property type dropped:" << type;
|
||||
qCDebug(lcQpaMime) << "Unknown property type dropped:" << propertyType;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user