summaryrefslogtreecommitdiff
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 5a5393f4b..f4f391583 100644
--- a/src/designer/src/components/propertyeditor/previewframe.cpp
+++ b/src/designer/src/components/propertyeditor/previewframe.cpp
@@ -70,7 +70,7 @@ PreviewFrame::PreviewFrame(QWidget *parent) :
setLineWidth(1);
QVBoxLayout *vbox = new QVBoxLayout(this);
- vbox->setMargin(0);
+ vbox->setContentsMargins(QMargins());
vbox->addWidget(m_mdiArea);
setMinimumSize(ensureMdiSubWindow()->minimumSizeHint());