summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/plugins/activeqt/qaxwidgettaskmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/src/plugins/activeqt/qaxwidgettaskmenu.cpp')
-rw-r--r--tools/designer/src/plugins/activeqt/qaxwidgettaskmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/plugins/activeqt/qaxwidgettaskmenu.cpp b/tools/designer/src/plugins/activeqt/qaxwidgettaskmenu.cpp
index 1158e35..1cbf1c1 100644
--- a/tools/designer/src/plugins/activeqt/qaxwidgettaskmenu.cpp
+++ b/tools/designer/src/plugins/activeqt/qaxwidgettaskmenu.cpp
@@ -162,7 +162,7 @@ void QAxWidgetTaskMenu::setActiveXControl()
tr("The control requires a design-time license"));
clsid = QUuid();
} else {
- key = QString::fromUtf16((ushort *)bKey);
+ key = QString::fromWCharArray(bKey);
}
cf2->Release();