summaryrefslogtreecommitdiffstats
path: root/kate/part/katerenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/part/katerenderer.cpp')
-rw-r--r--kate/part/katerenderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/part/katerenderer.cpp b/kate/part/katerenderer.cpp
index cfcec76bb..143d24f6d 100644
--- a/kate/part/katerenderer.cpp
+++ b/kate/part/katerenderer.cpp
@@ -69,9 +69,9 @@ void KateRenderer::updateAttributes ()
KateAttribute* KateRenderer::attribute(uint pos)
{
if (pos < m_attributes->size())
- return &m_attributes->at(pos);
+ return &m_attributes->tqat(pos);
- return &m_attributes->at(0);
+ return &m_attributes->tqat(0);
}
void KateRenderer::setDrawCaret(bool drawCaret)