mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
21 lines
687 B
Diff
21 lines
687 B
Diff
diff --git a/3rdparty/pythonqt/src/PythonQt.cpp b/3rdparty/pythonqt/src/PythonQt.cpp
|
|
index f97bdf1..dfde7a0 100644
|
|
--- a/3rdparty/pythonqt/src/PythonQt.cpp
|
|
+++ b/3rdparty/pythonqt/src/PythonQt.cpp
|
|
@@ -200,12 +200,9 @@ PythonQtPrivate::~PythonQtPrivate() {
|
|
delete _defaultImporter;
|
|
_defaultImporter = NULL;
|
|
|
|
- {
|
|
- QHashIterator<QByteArray, PythonQtClassInfo *> i(_knownClassInfos);
|
|
- while (i.hasNext()) {
|
|
- delete i.next().value();
|
|
- }
|
|
- }
|
|
+ qDeleteAll(_knownClassInfos.values());
|
|
+ qDeleteAll(_signalReceivers.values());
|
|
+
|
|
PythonQtConv::global_valueStorage.clear();
|
|
PythonQtConv::global_ptrStorage.clear();
|
|
PythonQtConv::global_variantStorage.clear();
|