summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qemulationpaintengine_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qemulationpaintengine_p.h')
-rw-r--r--src/gui/painting/qemulationpaintengine_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qemulationpaintengine_p.h b/src/gui/painting/qemulationpaintengine_p.h
index 1c3445c..358066e 100644
--- a/src/gui/painting/qemulationpaintengine_p.h
+++ b/src/gui/painting/qemulationpaintengine_p.h
@@ -92,6 +92,8 @@ public:
virtual void setState(QPainterState *s);
+ virtual uint flags() const {return QPaintEngineEx::IsEmulationEngine | QPaintEngineEx::DoNotEmulate;}
+
inline QPainterState *state() { return (QPainterState *)QPaintEngine::state; }
inline const QPainterState *state() const { return (const QPainterState *)QPaintEngine::state; }