summaryrefslogtreecommitdiffstats
path: root/libutil/include/siglist_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/include/siglist_impl.h')
-rw-r--r--libutil/include/siglist_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libutil/include/siglist_impl.h b/libutil/include/siglist_impl.h
index cb37ea4b..9736b2cf 100644
--- a/libutil/include/siglist_impl.h
+++ b/libutil/include/siglist_impl.h
@@ -45,7 +45,7 @@ void SigList<T>::clear()
}
template <typename T>
-void SigList<T>::erase(SigList<T>::iterator pos)
+void SigList<T>::erase(typename QList<T>::iterator pos)
{
T value = *pos;
int index = indexOf(*pos);
@@ -54,7 +54,7 @@ void SigList<T>::erase(SigList<T>::iterator pos)
}
template <typename T>
-void SigList<T>::erase(SigList<T>::iterator first, SigList<T>::iterator last)
+void SigList<T>::erase(typename QList<T>::iterator first, typename QList<T>::iterator last)
{
QList<T> removedValues;
int firstIndex = indexOf(*first);
@@ -76,7 +76,7 @@ void SigList<T>::insert(int i, const T &t)
}
template <typename T>
-void SigList<T>::insert(SigList<T>::iterator before, const T &t)
+void SigList<T>::insert(typename QList<T>::iterator before, const T &t)
{
QList<T>::insert(before, t);
onItemAdded(t, indexOf(t));