diff options
author | Sami Merilä <sami.merila@nokia.com> | 2009-08-14 09:59:00 (GMT) |
---|---|---|
committer | Sami Merilä <sami.merila@nokia.com> | 2009-08-14 09:59:00 (GMT) |
commit | 6c8ed1862908d2152946e806a329462a5678282c (patch) | |
tree | 43f5cf0f5ddf25f6ee16214d6a8ca6f7e537f606 | |
parent | d00e02bcd814402ac97f3fa033c541e07f3f9549 (diff) | |
download | Qt-6c8ed1862908d2152946e806a329462a5678282c.zip Qt-6c8ed1862908d2152946e806a329462a5678282c.tar.gz Qt-6c8ed1862908d2152946e806a329462a5678282c.tar.bz2 |
S60Style: Draw QFrames in default cases
-rw-r--r-- | src/gui/styles/qs60style.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 1210316..421ba78 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -1871,6 +1871,8 @@ void QS60Style::drawControl(ControlElement element, const QStyleOption *option, //todo: update to horizontal table graphic QS60StylePrivate::drawSkinElement(QS60StylePrivate::SE_TableHeaderItem, painter, option->rect, flags | QS60StylePrivate::SF_PointWest); } + } else if (qobject_cast<const QFrame *>(widget)) { + QCommonStyle::drawControl(element, option, painter, widget); } if (option->state & State_HasFocus) drawPrimitive(PE_FrameFocusRect, option, painter, widget); |