summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-07-08 02:06:16 +1000
committerQt Continuous Integration System <qt-info@nokia.com>2011-07-08 02:06:16 +1000
commit4f8978312a8897e27b2e548fe85f2a76402aa17a (patch)
tree47bbd865ea2d4603b271f01a8c9f1aac1c19e9c1 /demos
parent8bc5a6319455d7dc0655a8c48862ada8890b0064 (diff)
parent1fc2dcd798cf984d59568c1f681c830ce16bda1e (diff)
downloadqt4-tools-4f8978312a8897e27b2e548fe85f2a76402aa17a.tar.gz
Merge branch 4.7 into qt-4.8-from-4.7
Diffstat (limited to 'demos')
-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;
}