summaryrefslogtreecommitdiffstats
path: root/kate/part/kateundo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/part/kateundo.cpp')
-rw-r--r--kate/part/kateundo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kate/part/kateundo.cpp b/kate/part/kateundo.cpp
index 379df16f0..81901d9f8 100644
--- a/kate/part/kateundo.cpp
+++ b/kate/part/kateundo.cpp
@@ -296,9 +296,9 @@ void KateUndoGroup::undo ()
if (m_doc->activeView())
{
for (uint z=0; z < m_items.count(); z++)
- if (m_items.at(z)->type() != KateUndoGroup::editMarkLineAutoWrapped)
+ if (m_items.tqat(z)->type() != KateUndoGroup::editMarkLineAutoWrapped)
{
- m_doc->activeView()->editSetCursor (m_items.at(z)->cursorBefore());
+ m_doc->activeView()->editSetCursor (m_items.tqat(z)->cursorBefore());
break;
}
}
@@ -319,9 +319,9 @@ void KateUndoGroup::redo ()
if (m_doc->activeView())
{
for (uint z=0; z < m_items.count(); z++)
- if (m_items.at(z)->type() != KateUndoGroup::editMarkLineAutoWrapped)
+ if (m_items.tqat(z)->type() != KateUndoGroup::editMarkLineAutoWrapped)
{
- m_doc->activeView()->editSetCursor (m_items.at(z)->cursorAfter());
+ m_doc->activeView()->editSetCursor (m_items.tqat(z)->cursorAfter());
break;
}
}