Do not use obsolete type.

This commit is contained in:
Andrius Štikonas 2016-07-06 20:44:32 +01:00
parent aa6f7f8f84
commit 4ba9971de9
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
#include <QPaintEvent> #include <QPaintEvent>
#include <QResizeEvent> #include <QResizeEvent>
#include <QStyleOptionToolBar> #include <QStyleOptionToolBar>
#include <QStyleOptionFrameV3> #include <QStyleOptionFrame>
#include <QStyleOptionButton> #include <QStyleOptionButton>
const qint32 PartResizerWidget::m_HandleHeight = 59; const qint32 PartResizerWidget::m_HandleHeight = 59;
@ -172,7 +172,7 @@ void PartResizerWidget::paintEvent(QPaintEvent*)
{ {
// draw sunken frame // draw sunken frame
QPainter painter(this); QPainter painter(this);
QStyleOptionFrameV3 opt; QStyleOptionFrame opt;
opt.initFrom(this); opt.initFrom(this);
opt.frameShape = QFrame::StyledPanel; opt.frameShape = QFrame::StyledPanel;
opt.rect = contentsRect(); opt.rect = contentsRect();