From 52c2bf0e0dc5bcad1b75f9b8d817b39ca7754476 Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Thu, 7 Jul 2011 11:01:28 +0200 Subject: Update the Window title when closing the last tab. Fixes: QTBUG-20243 Reviewed-By: Kevin Wright --- demos/browser/tabwidget.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v0.12