diff options
Diffstat (limited to 'src/plugins/platforms/windows/uiautomation/qwindowsuiavalueprovider.cpp')
-rw-r--r-- | src/plugins/platforms/windows/uiautomation/qwindowsuiavalueprovider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/uiautomation/qwindowsuiavalueprovider.cpp b/src/plugins/platforms/windows/uiautomation/qwindowsuiavalueprovider.cpp index 8651bcff60..9b41162d45 100644 --- a/src/plugins/platforms/windows/uiautomation/qwindowsuiavalueprovider.cpp +++ b/src/plugins/platforms/windows/uiautomation/qwindowsuiavalueprovider.cpp @@ -72,7 +72,7 @@ HRESULT STDMETHODCALLTYPE QWindowsUiaValueProvider::SetValue(LPCWSTR val) return UIA_E_ELEMENTNOTAVAILABLE; // First sets the value as a text. - QString strVal = QString::fromUtf16(reinterpret_cast<const ushort *>(val)); + QString strVal = QString::fromUtf16(reinterpret_cast<const char16_t *>(val)); accessible->setText(QAccessible::Value, strVal); // Then, if the control supports the value interface (range value) |