Commit f7777736 authored by Gabriel de Dietrich's avatar Gabriel de Dietrich Committed by The Qt Project
Browse files

Display initial "new form" dialog as proper dialog on Mac


Change-Id: I0497eb1aaa6af39fcc5a766a810770e1fb0322ec
Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@digia.com>
parent 6c8b29ac
Branches
Tags
No related merge requests found
Showing with 1 addition and 5 deletions
......@@ -67,11 +67,7 @@
QT_BEGIN_NAMESPACE
NewForm::NewForm(QDesignerWorkbench *workbench, QWidget *parentWidget, const QString &fileName)
: QDialog(parentWidget,
#ifdef Q_OS_MAC
Qt::Tool |
#endif
Qt::WindowTitleHint | Qt::WindowSystemMenuHint),
: QDialog(parentWidget, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint),
m_fileName(fileName),
m_newFormWidget(QDesignerNewFormWidgetInterface::createNewFormWidget(workbench->core())),
m_workbench(workbench),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment