Commit 3816e9de authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann
Browse files

QmlDesigner: Remove styling of warning text



Task-number: QTCREATORBUG-9603
Change-Id: I5028e955bec47e7d9799e6a7a98fa96398d44684
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent cf801ea0
...@@ -30,10 +30,6 @@ QmlWarningDialog::QmlWarningDialog(QWidget *parent, const QStringList &warnings) ...@@ -30,10 +30,6 @@ QmlWarningDialog::QmlWarningDialog(QWidget *parent, const QStringList &warnings)
foreach (const QString &string, warnings) foreach (const QString &string, warnings)
warningText += QLatin1String(" ") + string + QLatin1String("\n"); warningText += QLatin1String(" ") + string + QLatin1String("\n");
ui->warnings->setText(warningText); ui->warnings->setText(warningText);
ui->warnings->setForegroundRole(QPalette::ToolTipText);
ui->warnings->setBackgroundRole(QPalette::ToolTipBase);
ui->warnings->setAutoFillBackground(true);
} }
QmlWarningDialog::~QmlWarningDialog() QmlWarningDialog::~QmlWarningDialog()
......
Markdown is supported
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