Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 222435 | Differences between
and this patch

Collapse All | Expand All

(-)PyQt-x11-gpl-4.4_old/designer/pluginloader.cpp (-1 / +1 lines)
Lines 280-286 Link Here
280
// Return the named attribute object from the named module.
280
// Return the named attribute object from the named module.
281
PyObject *PyCustomWidgets::getModuleAttr(const char *module, const char *attr)
281
PyObject *PyCustomWidgets::getModuleAttr(const char *module, const char *attr)
282
{
282
{
283
#if PY_VERSION_HEX >= 0x020500
283
#if PY_VERSION_HEX >= 0x02050000
284
    PyObject *mod = PyImport_ImportModule(module);
284
    PyObject *mod = PyImport_ImportModule(module);
285
#else
285
#else
286
    PyObject *mod = PyImport_ImportModule(const_cast<char *>(module));
286
    PyObject *mod = PyImport_ImportModule(const_cast<char *>(module));

Return to bug 222435