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 {
QString text;
switch(m_orientation) {
case FaceUp:
case FaceDown:
case Undefined:
case Orientation::FaceUp:
case Orientation::FaceDown:
case Orientation::Undefined:
text = i18n("Undefined");
break;
case TopUp:
case TopDown:
case Orientation::TopUp:
case Orientation::TopDown:
text = i18n("Vertical");
break;
case LeftUp:
case RightUp:
case Orientation::LeftUp:
case Orientation::RightUp:
text = i18n("Horizontal");
break;
}