Do not use obsolete type.
This commit is contained in:
parent
aa6f7f8f84
commit
4ba9971de9
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue