summaryrefslogtreecommitdiffstats
path: root/src/designer/src/components/propertyeditor/previewframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/propertyeditor/previewframe.cpp')
-rw-r--r--src/designer/src/components/propertyeditor/previewframe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/propertyeditor/previewframe.cpp b/src/designer/src/components/propertyeditor/previewframe.cpp
index a97e46877..c093663e2 100644
--- a/src/designer/src/components/propertyeditor/previewframe.cpp
+++ b/src/designer/src/components/propertyeditor/previewframe.cpp
@@ -78,7 +78,7 @@ PreviewFrame::PreviewFrame(QWidget *parent) :
void PreviewFrame::setPreviewPalette(const QPalette &pal)
{
- ensureMdiSubWindow()->widget()->setPalette(pal);
+ ensureMdiSubWindow()->setPalette(pal);
}
void PreviewFrame::setSubWindowActive(bool active)