mirror of
https://github.com/lubosz/overte.git
synced 2025-08-28 18:06:33 +02:00
Remove reference to non existing id
This commit is contained in:
parent
7ca0c76b1c
commit
e84704165f
1 changed files with 11 additions and 11 deletions
|
@ -17,23 +17,23 @@ QtObject {
|
|||
// Translates icon enum to glyph char.
|
||||
var glyph;
|
||||
switch (icon) {
|
||||
case hifi.icons.information:
|
||||
glyph = hifi.glyphs.info;
|
||||
case icons.information:
|
||||
glyph = glyphs.info;
|
||||
break;
|
||||
case hifi.icons.question:
|
||||
glyph = hifi.glyphs.question;
|
||||
case icons.question:
|
||||
glyph = glyphs.question;
|
||||
break;
|
||||
case hifi.icons.warning:
|
||||
glyph = hifi.glyphs.alert;
|
||||
case icons.warning:
|
||||
glyph = glyphs.alert;
|
||||
break;
|
||||
case hifi.icons.critical:
|
||||
glyph = hifi.glyphs.error;
|
||||
case icons.critical:
|
||||
glyph = glyphs.error;
|
||||
break;
|
||||
case hifi.icons.placemark:
|
||||
glyph = hifi.glyphs.placemark;
|
||||
case icons.placemark:
|
||||
glyph = glyphs.placemark;
|
||||
break;
|
||||
default:
|
||||
glyph = hifi.glyphs.noIcon;
|
||||
glyph = glyphs.noIcon;
|
||||
}
|
||||
return glyph;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue