OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761aa0a
)
call QPainterState constructor in QPaintEngineEx::createState()
author
securitybypass
<btls10btls10@gmail.com>
Mon, 4 Jul 2022 00:14:21 +0000
(
03:14
+0300)
committer
securitybypass
<btls10btls10@gmail.com>
Mon, 4 Jul 2022 00:14:21 +0000
(
03:14
+0300)
Signed-off-by: securitybypass <btls10btls10@gmail.com>
src/gui/painting/qpaintengineex.cpp
patch
|
blob
|
history
diff --git
a/src/gui/painting/qpaintengineex.cpp
b/src/gui/painting/qpaintengineex.cpp
index
5f6c419
..
3593281
100644
(file)
--- a/
src/gui/painting/qpaintengineex.cpp
+++ b/
src/gui/painting/qpaintengineex.cpp
@@
-258,7
+258,7
@@
QPaintEngineEx::QPaintEngineEx(QPaintEngineExPrivate &data)
QPainterState *QPaintEngineEx::createState(QPainterState *orig) const
{
if (!orig)
- return new QPainterState;
+ return new QPainterState
()
;
return new QPainterState(orig);
}