1
0
mirror of https://github.com/thp/pyotherside.git synced 2025-01-28 23:52:55 +08:00

Fixed API usage in PyGLArea example.

This commit is contained in:
Dennis Tomas 2014-10-19 12:41:57 +02:00
parent b1cd1781d3
commit 1399072a9c

View File

@ -1011,7 +1011,7 @@ http://qt-project.org/doc/qt-5/qtquick-scenegraph-openglunderqml-example.html.
onTChanged: {
if (renderer) {
py.callMethod(renderer, 'set_t', [t], update);
py.call(py.getattr(renderer, 'set_t'), [t], update);
}
}
}