diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-04-06 12:13:39 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-04-06 12:14:52 (GMT) |
commit | cf42b485ebc1ab3e1f0a804b8c4e404fa99f1f6f (patch) | |
tree | 8f61ec20451aed2ea8223e32bc50862e1e2ca8ba /examples/graphicsview/flowlayout/flowlayout.h | |
parent | 6d1ba5590c99ad92de75ecd8bc9921921123d809 (diff) | |
download | Qt-cf42b485ebc1ab3e1f0a804b8c4e404fa99f1f6f.zip Qt-cf42b485ebc1ab3e1f0a804b8c4e404fa99f1f6f.tar.gz Qt-cf42b485ebc1ab3e1f0a804b8c4e404fa99f1f6f.tar.bz2 |
Fix a small bugs in the example. +two small cleanups.
Diffstat (limited to 'examples/graphicsview/flowlayout/flowlayout.h')
-rw-r--r-- | examples/graphicsview/flowlayout/flowlayout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphicsview/flowlayout/flowlayout.h b/examples/graphicsview/flowlayout/flowlayout.h index a78a83a..c1e5635 100644 --- a/examples/graphicsview/flowlayout/flowlayout.h +++ b/examples/graphicsview/flowlayout/flowlayout.h @@ -61,7 +61,7 @@ protected: QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const; private: - qreal doLayout(const QRectF &geom, bool applyNewGeometry); + qreal doLayout(const QRectF &geom, bool applyNewGeometry) const; QSizeF minSize(const QSizeF &constraint) const; QSizeF prefSize() const; QSizeF maxSize() const; |