Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
Set the color of the text too just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdgeos committed Feb 15, 2017
1 parent f2f4390 commit 68b5263
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ShellView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ShellView::ShellView(QQmlEngine *engine, QObject *qmlArgs)
errorsString += e.toString() + "\n";
}
QQuickText *text = new QQuickText(rect);
text->setColor(Qt::black);
text->setWrapMode(QQuickText::Wrap);
text->setText(QString("There was an error loading Unity8:\n%1").arg(errorsString));
QQuickItemPrivate::get(text)->anchors()->setFill(rect);
Expand Down

0 comments on commit 68b5263

Please sign in to comment.