Commit 92d635e7 authored by Matthias Möller's avatar Matthias Möller

qt algo instead of std algo

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15776 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1ce8ca47
......@@ -53,7 +53,6 @@
#include <OpenFlipper/common/GlobalOptions.hh>
#include <iostream>
#include <algorithm>
#include <QTextStream>
#include <QDir>
......@@ -109,10 +108,9 @@ HelpWidget::HelpWidget(QWidget* parent, const QString& _homeSite /*=""*/, const
for ( int i = 0; i < registeredNamespaces.size() ; ++i)
{
QString registredFilename (helpEngine_->documentationFileName(registeredNamespaces[i]));
QStringList::iterator iter = std::find(helpFiles.begin(),helpFiles.end(),registredFilename);
// re-register documentation if location changed
if (iter != helpFiles.end())
if (helpFiles.indexOf(registredFilename) != -1)
documentationFiles.push_back( registredFilename );
else
helpEngine_->unregisterDocumentation(registeredNamespaces[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment