summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared/previewmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/src/lib/shared/previewmanager.cpp')
-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 d6e8d9a..a7d6f43 100644
--- a/tools/designer/src/lib/shared/previewmanager.cpp
+++ b/tools/designer/src/lib/shared/previewmanager.cpp
@@ -689,6 +689,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);