Fix build.

This commit is contained in:
Roman Telezhynskyi 2022-11-22 12:36:56 +02:00
parent 655f978706
commit dc565c55b8
2 changed files with 0 additions and 8 deletions

View File

@ -96,13 +96,6 @@ private:
Q_DECLARE_METATYPE(VSAPoint) // NOLINT
Q_DECLARE_TYPEINFO(VSAPoint, Q_MOVABLE_TYPE); // NOLINT
// See https://stackoverflow.com/a/46719572/3045403
#if __cplusplus < 201703L
inline constexpr qreal VSAPoint::passmarkFactor; // NOLINT(readability-redundant-declaration)
inline constexpr qreal VSAPoint::maxPassmarkLength; // NOLINT(readability-redundant-declaration)
inline constexpr qreal VSAPoint::minSAWidth; // NOLINT(readability-redundant-declaration)
#endif
//---------------------------------------------------------------------------------------------------------------------
Q_DECL_CONSTEXPR inline VSAPoint::VSAPoint(qreal xpos, qreal ypos)
: VLayoutPoint(xpos, ypos)

View File

@ -540,7 +540,6 @@ void VBackgroundImageItem::keyPressEvent(QKeyEvent *event)
break;
}
QGraphicsObject::keyPressEvent(event);
}