summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qtabbar.cpp
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-05-06 13:57:26 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-05-06 13:57:26 (GMT)
commit91ffeeb342ce85dbd24f49c45adce5cb21a973a4 (patch)
treec479fb021e2613c32f1de9e6f7abbc5887dc5425 /src/gui/widgets/qtabbar.cpp
parent1560af4bca4a7ea2dd6b73ddef60cd012c4897b0 (diff)
parentf2123c9bbbe6468eaa6ab2b578ae0352094aa708 (diff)
downloadQt-91ffeeb342ce85dbd24f49c45adce5cb21a973a4.zip
Qt-91ffeeb342ce85dbd24f49c45adce5cb21a973a4.tar.gz
Qt-91ffeeb342ce85dbd24f49c45adce5cb21a973a4.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5
Diffstat (limited to 'src/gui/widgets/qtabbar.cpp')
-rw-r--r--src/gui/widgets/qtabbar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/qtabbar.cpp b/src/gui/widgets/qtabbar.cpp
index b562b1f..69221ba 100644
--- a/src/gui/widgets/qtabbar.cpp
+++ b/src/gui/widgets/qtabbar.cpp
@@ -1085,7 +1085,7 @@ void QTabBar::setTabData(int index, const QVariant & data)
}
/*!
- Returns the datad of the tab at position \a index, or a null
+ Returns the data of the tab at position \a index, or a null
variant if \a index is out of range.
*/
QVariant QTabBar::tabData(int index) const
@@ -2222,6 +2222,7 @@ void QTabBar::setTabButton(int index, ButtonPosition position, QWidget *widget)
d->tabList[index].rightWidget = widget;
}
d->layoutTabs();
+ d->refresh();
update();
}