Changeset View
Changeset View
Standalone View
Standalone View
lib/transformimageoperation.cpp
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Line(s) | 94 | case ROT_90: | |||
---|---|---|---|---|---|
96 | break; | 96 | break; | ||
97 | case ROT_270: | 97 | case ROT_270: | ||
98 | orientation = ROT_90; | 98 | orientation = ROT_90; | ||
99 | break; | 99 | break; | ||
100 | default: | 100 | default: | ||
101 | orientation = d->mOrientation; | 101 | orientation = d->mOrientation; | ||
102 | break; | 102 | break; | ||
103 | } | 103 | } | ||
104 | document()->enqueueJob(new TransformJob(orientation)); | 104 | | ||
105 | TransformJob* job = new TransformJob(orientation); | ||||
106 | connect(job, &TransformJob::result, this, &AbstractImageOperation::finishUndoJob); | ||||
107 | document()->enqueueJob(job); | ||||
105 | } | 108 | } | ||
106 | 109 | | |||
107 | } // namespace | 110 | } // namespace |