mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
minor QMatrix::map() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
403921fab5
commit
1c83221231
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ QPainterPath QMatrix::map(const QPainterPath &path) const
|
|||
if (path.isEmpty())
|
||||
return QPainterPath();
|
||||
|
||||
QPainterPath copy = path;
|
||||
QPainterPath copy(path);
|
||||
|
||||
// Translate or identity
|
||||
if (_m11 == 1.0 && _m22 == 1.0 && _m12 == 0.0 && _m21 == 0.0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue