diff --git a/kpf/src/KPFInterface.cpp b/kpf/src/KPFInterface.cpp index 47e4acef..2541dd83 100644 --- a/kpf/src/KPFInterface.cpp +++ b/kpf/src/KPFInterface.cpp @@ -40,11 +40,11 @@ KPFInterface::~KPFInterface() TQStringList KPFInterface::serverRootList() { - TQList l(KPF::WebServerManager::instance()->serverListLocal()); + TQPtrList l(KPF::WebServerManager::instance()->serverListLocal()); TQStringList ret; - for (TQListIterator it(l); it.current(); ++it) + for (TQPtrListIterator it(l); it.current(); ++it) ret << it.current()->root(); return ret;