mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 12:28:31 +01:00
Decrement the refcounts of shell methods if they're not called
This commit is contained in:
parent
bb0b547e9c
commit
5eb38504a7
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -46,6 +46,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QTranslator::childEvent(arg__1);
|
||||
}
|
||||
@ -63,6 +64,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QTranslator::customEvent(arg__1);
|
||||
}
|
||||
@ -91,6 +93,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QTranslator::event(arg__1);
|
||||
}
|
||||
@ -119,6 +122,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QTranslator::eventFilter(arg__1, arg__2);
|
||||
}
|
||||
@ -147,6 +151,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QTranslator::isEmpty();
|
||||
}
|
||||
@ -164,6 +169,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QTranslator::timerEvent(arg__1);
|
||||
}
|
||||
@ -192,6 +198,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QTranslator::translate(context, sourceText, disambiguation);
|
||||
}
|
||||
@ -305,6 +312,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QVariantAnimation::childEvent(arg__1);
|
||||
}
|
||||
@ -322,6 +330,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QVariantAnimation::customEvent(arg__1);
|
||||
}
|
||||
@ -350,6 +359,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QVariantAnimation::duration();
|
||||
}
|
||||
@ -378,6 +388,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QVariantAnimation::event(event);
|
||||
}
|
||||
@ -406,6 +417,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QVariantAnimation::eventFilter(arg__1, arg__2);
|
||||
}
|
||||
@ -434,6 +446,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QVariantAnimation::interpolated(from, to, progress);
|
||||
}
|
||||
@ -451,6 +464,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QVariantAnimation::timerEvent(arg__1);
|
||||
}
|
||||
@ -468,6 +482,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QVariantAnimation::updateCurrentTime(arg__1);
|
||||
}
|
||||
@ -485,6 +500,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
|
||||
}
|
||||
@ -502,6 +518,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QVariantAnimation::updateDirection(direction);
|
||||
}
|
||||
@ -519,6 +536,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QVariantAnimation::updateState(newState, oldState);
|
||||
}
|
||||
@ -664,6 +682,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QXmlStreamEntityResolver::resolveEntity(publicId, systemId);
|
||||
}
|
||||
@ -692,6 +711,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QXmlStreamEntityResolver::resolveUndeclaredEntity(name);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -68,6 +68,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QBitmap::devType();
|
||||
}
|
||||
@ -96,6 +97,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QBitmap::metric(arg__1);
|
||||
}
|
||||
@ -124,6 +126,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QBitmap::paintEngine();
|
||||
}
|
||||
@ -1348,6 +1351,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QImage::devType();
|
||||
}
|
||||
@ -1376,6 +1380,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QImage::metric(metric);
|
||||
}
|
||||
@ -1404,6 +1409,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QImage::paintEngine();
|
||||
}
|
||||
@ -2517,6 +2523,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QPixmap::devType();
|
||||
}
|
||||
@ -2545,6 +2552,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QPixmap::metric(arg__1);
|
||||
}
|
||||
@ -2573,6 +2581,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QPixmap::paintEngine();
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -122,6 +122,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::canReadLine();
|
||||
}
|
||||
@ -150,6 +151,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::bytesToWrite();
|
||||
}
|
||||
@ -178,6 +180,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::readData(data, maxlen);
|
||||
}
|
||||
@ -206,6 +209,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::writeData(data, len);
|
||||
}
|
||||
@ -234,6 +238,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::bytesAvailable();
|
||||
}
|
||||
@ -262,6 +267,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::waitForBytesWritten(msecs);
|
||||
}
|
||||
@ -290,6 +296,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::atEnd();
|
||||
}
|
||||
@ -307,6 +314,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QSslSocket::close();
|
||||
}
|
||||
@ -335,6 +343,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::waitForReadyRead(msecs);
|
||||
}
|
||||
@ -363,6 +372,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::readLineData(data, maxlen);
|
||||
}
|
||||
@ -391,6 +401,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::isSequential();
|
||||
}
|
||||
@ -419,6 +430,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::size();
|
||||
}
|
||||
@ -447,6 +459,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::pos();
|
||||
}
|
||||
@ -475,6 +488,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::reset();
|
||||
}
|
||||
@ -503,6 +517,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::open(mode);
|
||||
}
|
||||
@ -531,6 +546,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::seek(pos);
|
||||
}
|
||||
@ -548,6 +564,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QSslSocket::childEvent(arg__1);
|
||||
}
|
||||
@ -565,6 +582,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QSslSocket::timerEvent(arg__1);
|
||||
}
|
||||
@ -582,6 +600,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
QSslSocket::customEvent(arg__1);
|
||||
}
|
||||
@ -610,6 +629,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::event(arg__1);
|
||||
}
|
||||
@ -638,6 +658,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QSslSocket::eventFilter(arg__1, arg__2);
|
||||
}
|
||||
|
@ -181,6 +181,7 @@ void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_cla
|
||||
s << " return;" << endl;
|
||||
}
|
||||
s << " }" << endl;
|
||||
s << " Py_XDECREF(obj);" << endl;
|
||||
s << "}" << endl;
|
||||
|
||||
s << " ";
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -43,6 +43,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return ThreadSafeNetworkDiskCache::cacheSize();
|
||||
}
|
||||
@ -60,6 +61,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
ThreadSafeNetworkDiskCache::childEvent(arg__1);
|
||||
}
|
||||
@ -77,6 +79,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
ThreadSafeNetworkDiskCache::clear();
|
||||
}
|
||||
@ -94,6 +97,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
ThreadSafeNetworkDiskCache::customEvent(arg__1);
|
||||
}
|
||||
@ -122,6 +126,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return ThreadSafeNetworkDiskCache::data(url);
|
||||
}
|
||||
@ -150,6 +155,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return ThreadSafeNetworkDiskCache::event(arg__1);
|
||||
}
|
||||
@ -178,6 +184,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return ThreadSafeNetworkDiskCache::eventFilter(arg__1, arg__2);
|
||||
}
|
||||
@ -195,6 +202,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
ThreadSafeNetworkDiskCache::insert(device);
|
||||
}
|
||||
@ -223,6 +231,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return ThreadSafeNetworkDiskCache::metaData(url);
|
||||
}
|
||||
@ -251,6 +260,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return ThreadSafeNetworkDiskCache::prepare(metaData);
|
||||
}
|
||||
@ -279,6 +289,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return ThreadSafeNetworkDiskCache::remove(url);
|
||||
}
|
||||
@ -296,6 +307,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
ThreadSafeNetworkDiskCache::timerEvent(arg__1);
|
||||
}
|
||||
@ -313,6 +325,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
ThreadSafeNetworkDiskCache::updateMetaData(metaData);
|
||||
}
|
||||
@ -387,6 +400,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return UrlHandler::LoadNext(url);
|
||||
}
|
||||
@ -415,6 +429,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return UrlHandler::StartLoading(url);
|
||||
}
|
||||
@ -432,6 +447,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
UrlHandler::childEvent(arg__1);
|
||||
}
|
||||
@ -449,6 +465,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
UrlHandler::customEvent(arg__1);
|
||||
}
|
||||
@ -477,6 +494,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return UrlHandler::event(arg__1);
|
||||
}
|
||||
@ -505,6 +523,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return UrlHandler::eventFilter(arg__1, arg__2);
|
||||
}
|
||||
@ -533,6 +552,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return returnValue;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
return QString();
|
||||
}
|
||||
@ -550,6 +570,7 @@ if (_wrapper) {
|
||||
Py_DECREF(obj);
|
||||
return;
|
||||
}
|
||||
Py_XDECREF(obj);
|
||||
}
|
||||
UrlHandler::timerEvent(arg__1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user