summaryrefslogtreecommitdiffstats
path: root/kate/plugins/insertfile/insertfileplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/plugins/insertfile/insertfileplugin.cpp')
-rw-r--r--kate/plugins/insertfile/insertfileplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/plugins/insertfile/insertfileplugin.cpp b/kate/plugins/insertfile/insertfileplugin.cpp
index 6a350831f..df8c31cad 100644
--- a/kate/plugins/insertfile/insertfileplugin.cpp
+++ b/kate/plugins/insertfile/insertfileplugin.cpp
@@ -59,9 +59,9 @@ void InsertFilePlugin::addView(KTextEditor::View *view)
void InsertFilePlugin::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)
{
- InsertFilePluginView *nview = m_views.at(z);
+ InsertFilePluginView *nview = m_views.tqat(z);
m_views.remove (nview);
delete nview;
}