diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2012-09-27 17:06:28 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-16 23:50:40 +0200 |
commit | f777773683c2b5ffe22f28ccfd9c05ef92cd04bf (patch) | |
tree | fed7a08a015b75cb52cefb2cc9ce04668af7d310 /src | |
parent | 6c8b29acec292569c56e7af8602e9d3940c67db5 (diff) | |
download | qttools-f777773683c2b5ffe22f28ccfd9c05ef92cd04bf.tar.gz |
Display initial "new form" dialog as proper dialog on Mac
Change-Id: I0497eb1aaa6af39fcc5a766a810770e1fb0322ec
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/designer/src/designer/newform.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/designer/src/designer/newform.cpp b/src/designer/src/designer/newform.cpp index 3b37bb747..0f3bfe62b 100644 --- a/src/designer/src/designer/newform.cpp +++ b/src/designer/src/designer/newform.cpp @@ -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), |