From 0eb8492cd2eed1bf18ae183603d8975ab780bda3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 18 Feb 2010 13:42:10 +0100 Subject: Fixed old trace files no longer working. Move new static text draw command to the end to avoid invalidating existing traces. Reviewed-by: Eskil --- src/gui/painting/qpaintbuffer_p.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/painting/qpaintbuffer_p.h b/src/gui/painting/qpaintbuffer_p.h index 8c2bb6b..0fde290 100644 --- a/src/gui/painting/qpaintbuffer_p.h +++ b/src/gui/painting/qpaintbuffer_p.h @@ -175,7 +175,6 @@ public: Cmd_DrawText, Cmd_DrawTextItem, - Cmd_DrawStaticText, Cmd_DrawImagePos, Cmd_DrawImageRect, @@ -185,6 +184,9 @@ public: Cmd_SystemStateChanged, Cmd_Translate, + Cmd_DrawStaticText, + + // new commands must be added above this line Cmd_LastCommand }; -- cgit v0.12