diff options
author | Thomas Zander <thomas.zander@trolltech.com> | 2009-05-13 17:35:43 +0200 |
---|---|---|
committer | Thomas Zander <thomas.zander@trolltech.com> | 2009-05-18 13:31:36 +0200 |
commit | 94fd16253df1ec6a8e0ee663802efe025ac6f678 (patch) | |
tree | b2d136a38d3856e2d8652648c0d27d600ddea402 | |
parent | 2e54034388c19cbcc345b6f98faaca8a81e9c58a (diff) |
Make the reported cell size be width-x-height instead of the other way around.
-rw-r--r-- | src/qgraphicstableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qgraphicstableview.cpp b/src/qgraphicstableview.cpp index 6e84737..5917ce1 100644 --- a/src/qgraphicstableview.cpp +++ b/src/qgraphicstableview.cpp @@ -586,7 +586,7 @@ void QtGraphicsTableView::setColumnWidth(int column, qreal width) */ QSizeF QtGraphicsTableView::cellSize(int row, int column) const { - return QSizeF(rowHeight(row), columnWidth(column)); + return QSizeF(columnWidth(row), rowHeight(column)); } /*! |