summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-07-07 19:12:49 +1000
committerQt Continuous Integration System <qt-info@nokia.com>2011-07-07 19:12:49 +1000
commit1fc2dcd798cf984d59568c1f681c830ce16bda1e (patch)
treeea8eb59f6fd5c4288252571931dca4d52a6e3691
parent1dd6a2103a7f594fd79600a863ffbd354b162386 (diff)
parent52c2bf0e0dc5bcad1b75f9b8d817b39ca7754476 (diff)
downloadqt4-tools-1fc2dcd798cf984d59568c1f681c830ce16bda1e.tar.gz
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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/browser/tabwidget.cpp b/demos/browser/tabwidget.cpp
index 9ce9fb8c37..d8b9db1a48 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;
}