summaryrefslogtreecommitdiffstats
path: root/tools/designer/src
diff options
context:
space:
mode:
authorJarek Kobus <jkobus@trolltech.com>2009-04-27 12:27:37 (GMT)
committerJarek Kobus <jkobus@trolltech.com>2009-04-27 12:27:37 (GMT)
commitfa6b4a76291229f29b21063f1ee8d550aec8c48b (patch)
tree53827b4eaeb564d7de37bdcb845c05af30d35f5f /tools/designer/src
parent96a27e24eec9356e45f1a6b6ff641a9afab24a39 (diff)
parent63a4d6652aa8d84282083e49217120c97bb0bfc8 (diff)
downloadQt-fa6b4a76291229f29b21063f1ee8d550aec8c48b.zip
Qt-fa6b4a76291229f29b21063f1ee8d550aec8c48b.tar.gz
Qt-fa6b4a76291229f29b21063f1ee8d550aec8c48b.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5
Diffstat (limited to 'tools/designer/src')
-rw-r--r--tools/designer/src/uitools/quiloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/src/uitools/quiloader.cpp b/tools/designer/src/uitools/quiloader.cpp
index d3d1d54..67bd29c 100644
--- a/tools/designer/src/uitools/quiloader.cpp
+++ b/tools/designer/src/uitools/quiloader.cpp
@@ -259,9 +259,9 @@ public:
const int row_cnt = tablew->rowCount();
const int col_cnt = tablew->columnCount();
for (int j = 0; j < col_cnt; ++j)
- reTranslateTableItem(tablew->verticalHeaderItem(j), m_className);
+ reTranslateTableItem(tablew->horizontalHeaderItem(j), m_className);
for (int i = 0; i < row_cnt; ++i) {
- reTranslateTableItem(tablew->horizontalHeaderItem(i), m_className);
+ reTranslateTableItem(tablew->verticalHeaderItem(i), m_className);
for (int j = 0; j < col_cnt; ++j)
reTranslateTableItem(tablew->item(i, j), m_className);
}