diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-22 04:15:20 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-22 04:15:20 (GMT) |
commit | bc69d1abc4f9419aa47dac871bb1080260f1b736 (patch) | |
tree | e0a994bdb2c9ef8e7690b2ffd99ce51047d4a36b /src/declarative/qml | |
parent | f16ea3dcd03f3ffe47483e2f852d104e5c68d475 (diff) | |
download | Qt-bc69d1abc4f9419aa47dac871bb1080260f1b736.zip Qt-bc69d1abc4f9419aa47dac871bb1080260f1b736.tar.gz Qt-bc69d1abc4f9419aa47dac871bb1080260f1b736.tar.bz2 |
Implement a fast "styled" text format.
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/qpodvector_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/declarative/qml/qpodvector_p.h b/src/declarative/qml/qpodvector_p.h index add6e98..42d6017 100644 --- a/src/declarative/qml/qpodvector_p.h +++ b/src/declarative/qml/qpodvector_p.h @@ -92,10 +92,8 @@ public: m_data = (T *)realloc(m_data, m_capacity * sizeof(T)); } int moveCount = m_count - idx; - if (moveCount) { - qDebug() << "insert" << m_count << idx; + if (moveCount) ::memmove(m_data + idx + 1, m_data + idx, moveCount * sizeof(T)); - } m_count++; m_data[idx] = v; } |