Fix build
This commit is contained in:
parent
6bc2ddd56a
commit
f1fa3a2cab
1 changed files with 7 additions and 7 deletions
|
@ -77,17 +77,17 @@ void OrientationSensor::refresh()
|
||||||
} else {
|
} else {
|
||||||
QString text;
|
QString text;
|
||||||
switch(m_orientation) {
|
switch(m_orientation) {
|
||||||
case FaceUp:
|
case Orientation::FaceUp:
|
||||||
case FaceDown:
|
case Orientation::FaceDown:
|
||||||
case Undefined:
|
case Orientation::Undefined:
|
||||||
text = i18n("Undefined");
|
text = i18n("Undefined");
|
||||||
break;
|
break;
|
||||||
case TopUp:
|
case Orientation::TopUp:
|
||||||
case TopDown:
|
case Orientation::TopDown:
|
||||||
text = i18n("Vertical");
|
text = i18n("Vertical");
|
||||||
break;
|
break;
|
||||||
case LeftUp:
|
case Orientation::LeftUp:
|
||||||
case RightUp:
|
case Orientation::RightUp:
|
||||||
text = i18n("Horizontal");
|
text = i18n("Horizontal");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue