summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@qt.io>2016-11-15 13:48:39 +0100
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2016-11-16 13:06:21 +0000
commit3e5e2cd3bd1271ce886fe5b97fe07dffb2631cc6 (patch)
tree2d8fb51cbe82dbf68fc5ece00350df275255c6b9
parent7912ac5d672bef9ab46d05a11fc71cb6ed68acf7 (diff)
winrt: Do not shadow variable
Change-Id: I70fc9254bfdfe42bf0e8d379537eb60b21be8275 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r--src/plugins/platforms/winrt/qwinrtdrag.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/winrt/qwinrtdrag.cpp b/src/plugins/platforms/winrt/qwinrtdrag.cpp
index 055aacbf56..89ebf7d26f 100644
--- a/src/plugins/platforms/winrt/qwinrtdrag.cpp
+++ b/src/plugins/platforms/winrt/qwinrtdrag.cpp
@@ -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;
}