Add note to remove unused private field.

Change-Id: I33c831de1eb6b687a9c033f83bc266bd33a3540e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Stephen Kelly 2013-06-18 14:40:29 +02:00 committed by The Qt Project
parent 93c0de7253
commit 44630a6f42

View File

@ -860,7 +860,14 @@ public:
void setContentPos(const QPointF &pos); void setContentPos(const QPointF &pos);
private: 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; QPointF m_startPos;
QSizeF m_viewportSize; QSizeF m_viewportSize;
QRectF m_contentPosRange; QRectF m_contentPosRange;