Fix build

This commit is contained in:
Aleix Pol 2019-03-20 11:40:50 +01:00
parent 6bc2ddd56a
commit f1fa3a2cab

View file

@ -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;
} }