Kaydet (Commit) 149edab4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wswitch

Change-Id: I319f932f24a5b4c2eb331eac6795731a1bc483ca
üst 487a6b49
......@@ -403,6 +403,8 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
draw( QStyle::CC_ComboBox, &option, m_image.get(),
vclStateValue2StateFlag(nControlState, value) );
break;
default:
break;
}
}
else if (type == ControlType::ListNode)
......@@ -761,6 +763,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
case ControlPart::ListboxWindow:
retVal = true;
break;
default:
break;
}
break;
}
......@@ -814,6 +818,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
w = QApplication::style()->pixelMetric(QStyle::PM_ExclusiveIndicatorWidth);
retVal = true;
break;
default:
break;
}
if (retVal) {
contentRect = QRect(0, 0, w, h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment