|
|
@@ -855,6 +855,8 @@ QQmlListProperty_ *newListProperty(GoAddr *addr, intptr_t reflectIndex, intptr_t
|
|
|
|
|
|
void internalLogHandler(QtMsgType severity, const QMessageLogContext &context, const QString &text)
|
|
|
{
|
|
|
+ if (context.file == NULL) return;
|
|
|
+
|
|
|
QByteArray textba = text.toUtf8();
|
|
|
LogMessage message = {severity, textba.constData(), textba.size(), context.file, (int)strlen(context.file), context.line};
|
|
|
hookLogHandler(&message);
|