summaryrefslogtreecommitdiffstats
path: root/tools/designer/src
diff options
context:
space:
mode:
authorKeith Isdale <keith.isdale@nokia.com>2009-08-24 04:59:16 (GMT)
committerKeith Isdale <keith.isdale@nokia.com>2009-08-24 05:28:36 (GMT)
commitede5f8cb8ae1fcc7631cc05e9c57c0cfa5790ef5 (patch)
treef4c9b40988d55ca64950626e6e63f8fd644d20ed /tools/designer/src
parentfefd6e45962ac915fe9cd43b245642985c36b36d (diff)
downloadQt-ede5f8cb8ae1fcc7631cc05e9c57c0cfa5790ef5.zip
Qt-ede5f8cb8ae1fcc7631cc05e9c57c0cfa5790ef5.tar.gz
Qt-ede5f8cb8ae1fcc7631cc05e9c57c0cfa5790ef5.tar.bz2
Designer Preview window title not set
Set the Designer preview widget title for the default case Task-number: 259621 Reviewed-by: Stian Sandvik Thomassen
Diffstat (limited to 'tools/designer/src')
-rw-r--r--tools/designer/src/lib/shared/previewmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/designer/src/lib/shared/previewmanager.cpp b/tools/designer/src/lib/shared/previewmanager.cpp
index 1f5fbda..23726bc 100644
--- a/tools/designer/src/lib/shared/previewmanager.cpp
+++ b/tools/designer/src/lib/shared/previewmanager.cpp
@@ -562,6 +562,7 @@ QWidget *PreviewManager::createPreview(const QDesignerFormWindowInterface *fw,
const QString title = tr("%1 - [Preview]").arg(formWidget->windowTitle());
formWidget = fakeContainer(formWidget);
+ formWidget->setWindowTitle(title);
// Clear any modality settings, child widget modalities must not be higher than parent's
formWidget->setWindowModality(Qt::NonModal);