summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared/newformwidget.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-05-25 07:55:55 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-05-25 07:55:55 (GMT)
commitacc6122892a33b845da32b1d5b30dc6852c17e73 (patch)
tree978a84a77a6bccff08bace60d47a6b14cd9eefd2 /tools/designer/src/lib/shared/newformwidget.cpp
parent43eccd4e52402b9020a0cf26aa1486784f8abe0e (diff)
parent4147a2c788c39f09ef87181768a779cb701fd2bd (diff)
downloadQt-acc6122892a33b845da32b1d5b30dc6852c17e73.zip
Qt-acc6122892a33b845da32b1d5b30dc6852c17e73.tar.gz
Qt-acc6122892a33b845da32b1d5b30dc6852c17e73.tar.bz2
Merge branch 'master' into graphics-master
Diffstat (limited to 'tools/designer/src/lib/shared/newformwidget.cpp')
-rw-r--r--tools/designer/src/lib/shared/newformwidget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/designer/src/lib/shared/newformwidget.cpp b/tools/designer/src/lib/shared/newformwidget.cpp
index d79d77a..503e597 100644
--- a/tools/designer/src/lib/shared/newformwidget.cpp
+++ b/tools/designer/src/lib/shared/newformwidget.cpp
@@ -310,9 +310,8 @@ QImage NewFormWidget::grabForm(QDesignerFormEditorInterface *core,
const QString &workingDir,
const qdesigner_internal::DeviceProfile &dp)
{
- qdesigner_internal::QDesignerFormBuilder formBuilder(core,
- qdesigner_internal::QDesignerFormBuilder::DisableScripts,
- dp);
+ qdesigner_internal::NewFormWidgetFormBuilder
+ formBuilder(core, qdesigner_internal::QDesignerFormBuilder::DisableScripts, dp);
if (!workingDir.isEmpty())
formBuilder.setWorkingDirectory(workingDir);