Update obscuren/qml revision

This commit is contained in:
Taylor Gerring 2015-02-16 19:43:27 +01:00
parent cb34502728
commit 643eda5c2d
2 changed files with 3 additions and 1 deletions

2
Godeps/Godeps.json generated
View File

@ -67,7 +67,7 @@
}, },
{ {
"ImportPath": "github.com/obscuren/qml", "ImportPath": "github.com/obscuren/qml",
"Rev": "807b51d4104231784fa5e336ccd26d61759a3cb2" "Rev": "c288002b52e905973b131089a8a7c761d4a2c36a"
}, },
{ {
"ImportPath": "github.com/rakyll/globalconf", "ImportPath": "github.com/rakyll/globalconf",

View File

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