Fix warnings:
fix -Winconsistent-missing-override fix -Wself-assign
This commit is contained in:
@@ -55,10 +55,10 @@ public:
|
||||
~QGIFace();
|
||||
|
||||
enum {Type = QGraphicsItem::UserType + 104};
|
||||
int type() const { return Type;}
|
||||
QRectF boundingRect() const;
|
||||
QPainterPath shape() const;
|
||||
virtual void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 );
|
||||
int type() const override { return Type;}
|
||||
QRectF boundingRect() const override;
|
||||
QPainterPath shape() const override;
|
||||
virtual void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 ) override;
|
||||
|
||||
public:
|
||||
enum fillMode {
|
||||
|
||||
@@ -229,7 +229,6 @@ void QGITile::makeText(void)
|
||||
m_qgTextC->setPlainText(m_textC);
|
||||
m_qgTextC->setColor(m_colCurrent);
|
||||
double textHeightC = m_qgTextC->boundingRect().height();
|
||||
textHeightC = textHeightC;
|
||||
if (m_row < 0) { // below line
|
||||
vOffset = m_high * (1 + verticalFudge);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user