From 643eda5c2d3190147bc55ef27c4ce241c7c59da2 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Mon, 16 Feb 2015 19:43:27 +0100 Subject: [PATCH] Update obscuren/qml revision --- Godeps/Godeps.json | 2 +- Godeps/_workspace/src/github.com/obscuren/qml/cpp/capi.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 1ecdce06fa..831140690f 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -67,7 +67,7 @@ }, { "ImportPath": "github.com/obscuren/qml", - "Rev": "807b51d4104231784fa5e336ccd26d61759a3cb2" + "Rev": "c288002b52e905973b131089a8a7c761d4a2c36a" }, { "ImportPath": "github.com/rakyll/globalconf", diff --git a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/capi.cpp b/Godeps/_workspace/src/github.com/obscuren/qml/cpp/capi.cpp index c2255aaae9..024e5ec9ca 100644 --- a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/capi.cpp +++ b/Godeps/_workspace/src/github.com/obscuren/qml/cpp/capi.cpp @@ -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);