diff options
author | kh <qtc-committer@nokia.com> | 2009-07-27 13:08:00 (GMT) |
---|---|---|
committer | kh <qtc-committer@nokia.com> | 2009-07-27 13:08:00 (GMT) |
commit | fab51e1d9ce57be4d786ad7c9df8bc695252a0de (patch) | |
tree | 2c214de48cb21fc46b9208b2c5263567f68db223 /tools/assistant | |
parent | 14c96b7079a0fb32d1c32d00f95a87e0e3ada8b6 (diff) | |
download | Qt-fab51e1d9ce57be4d786ad7c9df8bc695252a0de.zip Qt-fab51e1d9ce57be4d786ad7c9df8bc695252a0de.tar.gz Qt-fab51e1d9ce57be4d786ad7c9df8bc695252a0de.tar.bz2 |
Fix missing title quoting.
Reviewed-by: kh
Diffstat (limited to 'tools/assistant')
-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 a384544..00a8893 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(); |