summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/browser/browserapplication.cpp
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2015-02-06 12:02:58 +0100
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-02-06 11:05:52 +0000
commita3b361dc34c58645f564a93c63fd211f6e761947 (patch)
treeeda0503c773b8410b152863d026521b841578c8e /examples/webenginewidgets/browser/browserapplication.cpp
parent4d3d552349bc848c48566fe756f27e314d62c40a (diff)
Fix multi-tab browser quit action on OS X
Fix typo '=+' -> '+=', that prevented us from properly counting the open tabs on OS X. Change-Id: If6bbe8cbcf83d7ee8a4e11361a2199b51430700b Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'examples/webenginewidgets/browser/browserapplication.cpp')
-rw-r--r--examples/webenginewidgets/browser/browserapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginewidgets/browser/browserapplication.cpp b/examples/webenginewidgets/browser/browserapplication.cpp
index ddcebfb8e..093ab7228 100644
--- a/examples/webenginewidgets/browser/browserapplication.cpp
+++ b/examples/webenginewidgets/browser/browserapplication.cpp
@@ -180,7 +180,7 @@ void BrowserApplication::quitBrowser()
clean();
int tabCount = 0;
for (int i = 0; i < m_mainWindows.count(); ++i) {
- tabCount =+ m_mainWindows.at(i)->tabWidget()->count();
+ tabCount += m_mainWindows.at(i)->tabWidget()->count();
}
if (tabCount > 1) {