diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-06 23:25:03 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-06 23:25:03 (GMT) |
commit | d469d5e12635a6bad54fe8bc9404c1fdf209635c (patch) | |
tree | e19579c10eb072ac708fc09eb6bedeb71f82860e /src/declarative/fx/qfxlayoutitem.cpp | |
parent | d0ee8e1a7d71d720a1fac789299cf59a58791149 (diff) | |
download | Qt-d469d5e12635a6bad54fe8bc9404c1fdf209635c.zip Qt-d469d5e12635a6bad54fe8bc9404c1fdf209635c.tar.gz Qt-d469d5e12635a6bad54fe8bc9404c1fdf209635c.tar.bz2 |
Fix warnings.
Diffstat (limited to 'src/declarative/fx/qfxlayoutitem.cpp')
-rw-r--r-- | src/declarative/fx/qfxlayoutitem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxlayoutitem.cpp b/src/declarative/fx/qfxlayoutitem.cpp index 446a8d7..1f814e8 100644 --- a/src/declarative/fx/qfxlayoutitem.cpp +++ b/src/declarative/fx/qfxlayoutitem.cpp @@ -78,7 +78,7 @@ QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,LayoutItem,QFxLayoutItem) */ QFxLayoutItem::QFxLayoutItem(QFxItem* parent) - : QFxItem(parent), m_maximumSize(INT_MAX,INT_MAX), m_preferredSize(100,100), m_minimumSize(0,0) + : QFxItem(parent), m_maximumSize(INT_MAX,INT_MAX), m_minimumSize(0,0), m_preferredSize(100,100) { setGraphicsItem(this); } @@ -93,6 +93,7 @@ void QFxLayoutItem::setGeometry(const QRectF & rect) QSizeF QFxLayoutItem::sizeHint(Qt::SizeHint w, const QSizeF &constraint) const { + Q_UNUSED(constraint); if(w == Qt::MinimumSize){ return m_minimumSize; }else if(w == Qt::MaximumSize){ |