mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 03:54:18 -04:00
Use nullptr everywhere
Differential Revision: https://phabricator.kde.org/D3987
This commit is contained in:
@ -449,10 +449,10 @@ QImageIOPlugin::Capabilities SoftimagePICPlugin::capabilities(QIODevice *device,
|
||||
return Capabilities(CanRead | CanWrite);
|
||||
}
|
||||
if (!format.isEmpty()) {
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
if (!device->isOpen()) {
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Capabilities cap;
|
||||
|
Reference in New Issue
Block a user