QObject::disconnect: remove dead code
Change-Id: Id82ee3d0fb04d89e498cf05d0c0be33c4fe03e86 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
85121af2eb
commit
cbe65673b2
@ -3180,14 +3180,6 @@ bool QObject::disconnect(const QObject *sender, const QMetaMethod &signal,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reconstructing SIGNAL() macro result for signal.methodSignature() string
|
|
||||||
QByteArray signalSignature;
|
|
||||||
if (signal.mobj) {
|
|
||||||
signalSignature.reserve(signal.methodSignature().size() + 1);
|
|
||||||
signalSignature.append((char)(QSIGNAL_CODE + '0'));
|
|
||||||
signalSignature.append(signal.methodSignature());
|
|
||||||
}
|
|
||||||
|
|
||||||
int signal_index;
|
int signal_index;
|
||||||
int method_index;
|
int method_index;
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user