aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-17 02:43:27 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-17 02:43:27 +0800
commit643eda5c2d3190147bc55ef27c4ce241c7c59da2 (patch)
treea8d7530a7f7b8b382d8b7b6781239b89e84ff12c /Godeps/_workspace
parentcb345027284527ce700512f2734116d3ca2f6cdf (diff)
downloadgo-tangerine-643eda5c2d3190147bc55ef27c4ce241c7c59da2.tar.gz
go-tangerine-643eda5c2d3190147bc55ef27c4ce241c7c59da2.tar.zst
go-tangerine-643eda5c2d3190147bc55ef27c4ce241c7c59da2.zip
Update obscuren/qml revision
Diffstat (limited to 'Godeps/_workspace')
-rw-r--r--Godeps/_workspace/src/github.com/obscuren/qml/cpp/capi.cpp2
1 files changed, 2 insertions, 0 deletions
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 c2255aaae..024e5ec9c 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);