Add note to remove unused private field.
Change-Id: I33c831de1eb6b687a9c033f83bc266bd33a3540e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
93c0de7253
commit
44630a6f42
@ -860,7 +860,14 @@ public:
|
||||
void setContentPos(const QPointF &pos);
|
||||
|
||||
private:
|
||||
QObject* m_target;
|
||||
#ifdef Q_CC_CLANG
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wunused-private-field"
|
||||
#endif // Q_CC_CLANG
|
||||
QObject* m_target; // Qt 6 remove.
|
||||
#ifdef Q_CC_CLANG
|
||||
# pragma clang diagnostic pop
|
||||
#endif // Q_CC_CLANG
|
||||
QPointF m_startPos;
|
||||
QSizeF m_viewportSize;
|
||||
QRectF m_contentPosRange;
|
||||
|
Loading…
Reference in New Issue
Block a user