diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-07-07 09:12:49 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-07-07 09:12:49 (GMT) |
commit | 1fc2dcd798cf984d59568c1f681c830ce16bda1e (patch) | |
tree | ea8eb59f6fd5c4288252571931dca4d52a6e3691 | |
parent | 1dd6a2103a7f594fd79600a863ffbd354b162386 (diff) | |
parent | 52c2bf0e0dc5bcad1b75f9b8d817b39ca7754476 (diff) | |
download | Qt-1fc2dcd798cf984d59568c1f681c830ce16bda1e.zip Qt-1fc2dcd798cf984d59568c1f681c830ce16bda1e.tar.gz Qt-1fc2dcd798cf984d59568c1f681c830ce16bda1e.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:
Update the Window title when closing the last tab.
-rw-r--r-- | demos/browser/tabwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/browser/tabwidget.cpp b/demos/browser/tabwidget.cpp index 9ce9fb8..d8b9db1 100644 --- a/demos/browser/tabwidget.cpp +++ b/demos/browser/tabwidget.cpp @@ -438,6 +438,7 @@ WebView *TabWidget::newTab(bool makeCurrent) addTab(emptyWidget, tr("(Untitled)")); connect(this, SIGNAL(currentChanged(int)), this, SLOT(currentChanged(int))); + currentChanged(currentIndex()); return 0; } |