diff options
author | kh <qtc-committer@nokia.com> | 2009-07-27 15:08:00 +0200 |
---|---|---|
committer | kh <qtc-committer@nokia.com> | 2009-07-27 15:08:00 +0200 |
commit | fab51e1d9ce57be4d786ad7c9df8bc695252a0de (patch) | |
tree | 2c214de48cb21fc46b9208b2c5263567f68db223 /tools | |
parent | 14c96b7079a0fb32d1c32d00f95a87e0e3ada8b6 (diff) |
Fix missing title quoting.
Reviewed-by: kh
Diffstat (limited to 'tools')
-rw-r--r-- | tools/assistant/tools/assistant/centralwidget.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/assistant/tools/assistant/centralwidget.cpp b/tools/assistant/tools/assistant/centralwidget.cpp index a38454453c..00a8893d15 100644 --- a/tools/assistant/tools/assistant/centralwidget.cpp +++ b/tools/assistant/tools/assistant/centralwidget.cpp @@ -739,8 +739,10 @@ void CentralWidget::setTabTitle(const QUrl &url) QTabBar *tabBar = qFindChild<QTabBar*>(tabWidget); for (int tab = 0; tab < tabBar->count(); ++tab) { HelpViewer *viewer = qobject_cast<HelpViewer*>(tabWidget->widget(tab)); - if (viewer) - tabWidget->setTabText(tab, viewer->documentTitle().trimmed()); + if (viewer) { + tabWidget->setTabText(tab, + quoteTabTitle(viewer->documentTitle().trimmed())); + } } #else HelpViewer *viewer = currentHelpViewer(); |