We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2df2c2 commit c36c7ebCopy full SHA for c36c7eb
inspectors/view/qml/common/StyledIconLabel.qml
@@ -22,11 +22,15 @@ Text {
22
text: iconCharCode(iconCode)
23
24
function iconCharCode(code) {
25
+ var result = 0
26
+
27
switch (code) {
- case IconNameTypes.AUTO: return "AUTO";
- case IconNameTypes.NONE: return "NONE";
28
- case IconNameTypes.CUSTOM: return "Custom";
29
- default: return String.fromCharCode(code)
+ case IconNameTypes.AUTO: result = "AUTO"; break
+ case IconNameTypes.NONE: result = "NONE"; break
30
+ case IconNameTypes.CUSTOM: result = "Custom"; break
31
+ default: result = String.fromCharCode(code); break
32
}
33
34
+ return result
35
36
0 commit comments