mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
replace 0 with Q_NULLPTR in QDBusMetaType::typeToSignature()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
7c5a570afa
commit
d220596b9a
1 changed files with 2 additions and 2 deletions
|
@ -436,7 +436,7 @@ const char *QDBusMetaType::typeToSignature(int type)
|
||||||
{
|
{
|
||||||
QReadLocker locker(customTypesLock());
|
QReadLocker locker(customTypesLock());
|
||||||
if (type >= ct->size())
|
if (type >= ct->size())
|
||||||
return 0; // type not registered with us
|
return Q_NULLPTR; // type not registered with us
|
||||||
|
|
||||||
const QDBusCustomTypeInfo &info = (*ct).at(type);
|
const QDBusCustomTypeInfo &info = (*ct).at(type);
|
||||||
|
|
||||||
|
@ -444,7 +444,7 @@ const char *QDBusMetaType::typeToSignature(int type)
|
||||||
return info.signature;
|
return info.signature;
|
||||||
|
|
||||||
if (!info.marshall)
|
if (!info.marshall)
|
||||||
return 0; // type not registered with us
|
return Q_NULLPTR; // type not registered with us
|
||||||
}
|
}
|
||||||
|
|
||||||
// call to user code to construct the signature type
|
// call to user code to construct the signature type
|
||||||
|
|
Loading…
Add table
Reference in a new issue