mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22:55 +00:00
do not copy the parameters types list in qDBusParametersForMethod() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
61e052461c
commit
9a26963695
1 changed files with 1 additions and 3 deletions
|
@ -92,13 +92,11 @@ bool qDBusInterfaceInObject(QObject *obj, const QString &interface_name)
|
|||
// sig must be the normalised signature for the method
|
||||
int qDBusParametersForMethod(const QMetaMethod &mm, QList<int>& metaTypes)
|
||||
{
|
||||
QList<QByteArray> parameterTypes = mm.parameterTypes();
|
||||
metaTypes.clear();
|
||||
|
||||
metaTypes.append(0); // return type
|
||||
int inputCount = 0;
|
||||
bool seenMessage = false;
|
||||
foreach (const QByteArray &type, parameterTypes) {
|
||||
foreach (const QByteArray &type, mm.parameterTypes()) {
|
||||
if (type.endsWith('*')) {
|
||||
//qWarning("Could not parse the method '%s'", mm.signature());
|
||||
// pointer?
|
||||
|
|
Loading…
Add table
Reference in a new issue