QmlDesigner: readd the flag to fix a crash

Also this is necessary to be at the right middle
position of QtCreator.

Change-Id: I691002b7ed5a29a1ea2094f62aba121b2a2e458e
Task-number: QTCREATORBUG-16673
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
Tim Jenssen
2016-07-29 10:20:36 +02:00
committed by Thomas Hartmann
parent 7ad279e99d
commit 1d61239bb9

View File

@@ -52,6 +52,9 @@ DocumentWarningWidget::DocumentWarningWidget(QWidget *parent)
, m_ignoreWarningsCheckBox(new QCheckBox(this))
, m_continueButton(new QPushButton(this))
{
// this "tooltip" should behave like a widget with parent child relation to the designer mode
setWindowFlags(Qt::Widget);
QFont boldFont = font();
boldFont.setBold(true);
m_headerLabel->setFont(boldFont);