summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zander <thomas.zander@trolltech.com>2009-05-13 17:35:43 +0200
committerThomas Zander <thomas.zander@trolltech.com>2009-05-18 13:31:36 +0200
commit94fd16253df1ec6a8e0ee663802efe025ac6f678 (patch)
treeb2d136a38d3856e2d8652648c0d27d600ddea402
parent2e54034388c19cbcc345b6f98faaca8a81e9c58a (diff)
Make the reported cell size be width-x-height instead of the other way around.
-rw-r--r--src/qgraphicstableview.cpp2
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));
}
/*!