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:
@ -300,10 +300,10 @@ QImageIOPlugin::Capabilities PSDPlugin::capabilities(QIODevice *device, const QB
|
||||
return Capabilities(CanRead);
|
||||
}
|
||||
if (!format.isEmpty()) {
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
if (!device->isOpen()) {
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Capabilities cap;
|
||||
|
Reference in New Issue
Block a user