summaryrefslogtreecommitdiffstats
path: root/kate/plugins/wordcompletion/docwordcompletion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/plugins/wordcompletion/docwordcompletion.cpp')
-rw-r--r--kate/plugins/wordcompletion/docwordcompletion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/plugins/wordcompletion/docwordcompletion.cpp b/kate/plugins/wordcompletion/docwordcompletion.cpp
index 37da55224..435578d6d 100644
--- a/kate/plugins/wordcompletion/docwordcompletion.cpp
+++ b/kate/plugins/wordcompletion/docwordcompletion.cpp
@@ -91,9 +91,9 @@ void DocWordCompletionPlugin::addView(KTextEditor::View *view)
void DocWordCompletionPlugin::removeView(KTextEditor::View *view)
{
for (uint z=0; z < m_views.count(); z++)
- if (m_views.at(z)->parentClient() == view)
+ if (m_views.tqat(z)->parentClient() == view)
{
- DocWordCompletionPluginView *nview = m_views.at(z);
+ DocWordCompletionPluginView *nview = m_views.tqat(z);
m_views.remove (nview);
delete nview;
}