forked from pool/rz-cutter
15 lines
686 B
Diff
15 lines
686 B
Diff
diff --git a/src/common/PythonManager.cpp b/src/common/PythonManager.cpp
|
|
index eb43b018e065..85a7ec191d1b 100644
|
|
--- a/src/common/PythonManager.cpp
|
|
+++ b/src/common/PythonManager.cpp
|
|
@@ -133,7 +133,9 @@ void PythonManager::shutdown()
|
|
Core()->setProperty("_PySideInvalidatePtr", QVariant());
|
|
|
|
// see PySide::destroyQCoreApplication()
|
|
+# if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
|
|
PySide::SignalManager::instance().clear();
|
|
+# endif
|
|
Shiboken::BindingManager &bm = Shiboken::BindingManager::instance();
|
|
SbkObject *pyQApp = bm.retrieveWrapper(QCoreApplication::instance());
|
|
PyTypeObject *pyQObjectType = Shiboken::Conversions::getPythonTypeObject("QObject*");
|