Gui: Fix possible crash when using Shiboken::Enum::getValue
Fixes #14156
This commit is contained in:
@@ -79,6 +79,9 @@ public:
|
||||
QDir* toQDir(PyObject* pyobj);
|
||||
static void createChildrenNameAttributes(PyObject* root, QObject* object);
|
||||
static void setParent(PyObject* pyWdg, QObject* parent);
|
||||
|
||||
private:
|
||||
qsizetype tryEnum(PyObject* pyPtr);
|
||||
};
|
||||
|
||||
} // namespace Gui
|
||||
|
||||
Reference in New Issue
Block a user