on xenial help sign in
Set the color of the text too just in case
68b5263Albert Astals Cid
src/ShellView.cpp+1
@@ -46,6 +46,7 @@ ShellView::ShellView(QQmlEngine *engine, QObject *qmlArgs)
46 errorsString += e.toString() + "\n";
46 errorsString += e.toString() + "\n";
47 }
47 }
48 QQuickText *text = new QQuickText(rect);
48 QQuickText *text = new QQuickText(rect);
49+ text->setColor(Qt::black);
49 text->setWrapMode(QQuickText::Wrap);
50 text->setWrapMode(QQuickText::Wrap);
50 text->setText(QString("There was an error loading Unity8:\n%1").arg(errorsString));
51 text->setText(QString("There was an error loading Unity8:\n%1").arg(errorsString));
51 QQuickItemPrivate::get(text)->anchors()->setFill(rect);
52 QQuickItemPrivate::get(text)->anchors()->setFill(rect);