summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-05-02 03:12:14 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-05-02 03:12:14 (GMT)
commitf101d46ccd4795fc672b5b6c9e24151df319d725 (patch)
tree82d67c71ad3ea8659c8e1277a4960e788c55c4d8 /src/gui/widgets
parent5fa83d8e2ad78272a1013c45387adffb5e551357 (diff)
parent0da9aa430240cefc7486efb3a68421423bc4fb76 (diff)
downloadQt-f101d46ccd4795fc672b5b6c9e24151df319d725.zip
Qt-f101d46ccd4795fc672b5b6c9e24151df319d725.tar.gz
Qt-f101d46ccd4795fc672b5b6c9e24151df319d725.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (29 commits) bye bye QMakeProjectEnv short-cut evaluation inside if() tests eliminate special splitting of INCLUDEPATH and DEPENDPATH do not env-expand cache file path s/QMAKE_FRAMEWORKDIR_FLAGS/QMAKE_FRAMEWORKPATH_FLAGS/ s/INCPATH/INCLUDEPATH/ s/QMAKE_RPATH/QMAKE_LFLAGS_RPATH/ teach configure QMAKE_LFLAGS_RPATH (in addition to obsolete QMAKE_RPATH) warn about usage of deprecated variables warn about using non-lowercased replace $$function()s add -Wdeprecated option (on by default) make QMakeProject::isEmpty() consider legacy mappings document some functions' scope fix $$size() not using function-scoped variables doc: Fixed some qdoc errors. qdoc: Added breadcrumbs for namespaces. Autotest: check that we receive key events on toplevel widgets Cocoa: key events stopped working Update Polish translations qdoc: Added "All namespaces" to the API Lookup box. ...
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qtabwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qtabwidget.cpp b/src/gui/widgets/qtabwidget.cpp
index 047a905..4a61935 100644
--- a/src/gui/widgets/qtabwidget.cpp
+++ b/src/gui/widgets/qtabwidget.cpp
@@ -542,6 +542,8 @@ void QTabWidget::setTabEnabled(int index, bool enable)
{
Q_D(QTabWidget);
d->tabs->setTabEnabled(index, enable);
+ if (QWidget *widget = d->stack->widget(index))
+ widget->setEnabled(enable);
}
/*!