From ede5f8cb8ae1fcc7631cc05e9c57c0cfa5790ef5 Mon Sep 17 00:00:00 2001 From: Keith Isdale Date: Mon, 24 Aug 2009 14:59:16 +1000 Subject: Designer Preview window title not set Set the Designer preview widget title for the default case Task-number: 259621 Reviewed-by: Stian Sandvik Thomassen --- tools/designer/src/lib/shared/previewmanager.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v0.12