Commit d2011f4b authored by Don Gagne's avatar Don Gagne

parent bf9dbefb
......@@ -724,6 +724,9 @@ void QGCApplication::showMessage(const QString& message)
QVariant varReturn;
QVariant varMessage = QVariant::fromValue(message);
QMetaObject::invokeMethod(_rootQmlObject(), "showMessage", Q_RETURN_ARG(QVariant, varReturn), Q_ARG(QVariant, varMessage));
} else if (runningUnitTests()) {
// Unit tests can run without UI
qDebug() << "QGCApplication::showMessage unittest" << message;
} else {
qWarning() << "Internal error";
}
......
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