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

Make it more obvious that the value combines DrawFrameFlags|DrawFrameStyle

Change-Id: I60b92fe2f9120b03293e5f880bb94a6c85e5a7ab
üst b7b0035c
......@@ -839,7 +839,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
if( part == PART_BORDER )
int nFrameWidth = static_cast< KDESalInstance* >(GetSalData()->m_pInstance)->getFrameWidth();
auto nStyle = static_cast<DrawFrameFlags>(val.getNumericVal());
auto nStyle = static_cast<DrawFrameFlags>(
val.getNumericVal() & 0xFFF0);
if( nStyle & DrawFrameFlags::NoDraw )
// in this case the question is: how thick would a frame be
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