Skip to content

Commit

Permalink
Gui: fix build error
Browse files Browse the repository at this point in the history
Related FreeCAD#99
  • Loading branch information
realthunder committed Feb 4, 2021
1 parent e6f8541 commit e37f99f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gui/WidgetFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -791,11 +791,11 @@ Py::Object PythonWrapper::fromQEvent(QEvent* event, const char* className)
#elif QT_VERSION >= 0x050000
// Access shiboken2/PySide2 via Python
//
return qt_wrapInstance<QEvent*>(object, className, "shiboken2", "PySide2.QtCore", "wrapInstance");
return qt_wrapInstance<QEvent*>(event, className, "shiboken2", "PySide2.QtCore", "wrapInstance");
#else
// Access shiboken/PySide via Python
//
return qt_wrapInstance<QEvent*>(object, className, "shiboken", "PySide.QtCore", "wrapInstance");
return qt_wrapInstance<QEvent*>(event, className, "shiboken", "PySide.QtCore", "wrapInstance");
#endif
}

Expand Down

0 comments on commit e37f99f

Please sign in to comment.