mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
Minor codestyle fixes
This commit is contained in:
parent
296e67254e
commit
db00dc70bd
@ -251,11 +251,13 @@ public:
|
||||
*/
|
||||
bool initForReadingAndRollBack(QIODevice *device)
|
||||
{
|
||||
if (device)
|
||||
if (device) {
|
||||
device->startTransaction();
|
||||
}
|
||||
auto ok = initForReading(device);
|
||||
if (device)
|
||||
if (device) {
|
||||
device->rollbackTransaction();
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user