mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 20:04:16 -04:00
Minor codestyle fixes
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user