# HG changeset patch # User Chris Cannam # Date 1177330676 0 # Node ID fe4fd011ef5d270e47ea5d8c8a3f9175a02c8b25 # Parent 101f71a97df4eb074002805ebc9541220eb4cde4 ... diff -r 101f71a97df4 -r fe4fd011ef5d widgets/PropertyStack.cpp --- a/widgets/PropertyStack.cpp Mon Apr 23 12:15:13 2007 +0000 +++ b/widgets/PropertyStack.cpp Mon Apr 23 12:17:56 2007 +0000 @@ -41,8 +41,8 @@ setTabBar(bar); // setElideMode(Qt::ElideRight); - setUsesScrollButtons(true); - setIconSize(QSize(16, 16)); + tabBar()->setUsesScrollButtons(true); + tabBar()->setIconSize(QSize(16, 16)); repopulate(); @@ -108,8 +108,8 @@ addTab(box, name); } else { addTab(box, icon, QString("&%1").arg(i + 1)); - setTabToolTip(count() - 1, name); - setTabIcon(count() - 1, icon); + tabBar()->setTabToolTip(count() - 1, name); + tabBar()->setTabIcon(count() - 1, icon); } m_boxes.push_back(box);