summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2010-02-18 12:42:10 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2010-02-18 12:48:56 (GMT)
commit0eb8492cd2eed1bf18ae183603d8975ab780bda3 (patch)
treeb682cf0ff65b16178e09dcd0e49167d2b927179c
parent37d4bde65a28a10efdd9c09b88007acd7339629a (diff)
downloadQt-0eb8492cd2eed1bf18ae183603d8975ab780bda3.zip
Qt-0eb8492cd2eed1bf18ae183603d8975ab780bda3.tar.gz
Qt-0eb8492cd2eed1bf18ae183603d8975ab780bda3.tar.bz2
Fixed old trace files no longer working.
Move new static text draw command to the end to avoid invalidating existing traces. Reviewed-by: Eskil
-rw-r--r--src/gui/painting/qpaintbuffer_p.h4
1 files changed, 3 insertions, 1 deletions
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
};