Commit 7a9aeeea authored by Matthias Möller's avatar Matthias Möller
Browse files

qt algo instead of std algo

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15776 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ed68f32c
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
#include <OpenFlipper/common/GlobalOptions.hh> #include <OpenFlipper/common/GlobalOptions.hh>
#include <iostream> #include <iostream>
#include <algorithm>
#include <QTextStream> #include <QTextStream>
#include <QDir> #include <QDir>
...@@ -109,10 +108,9 @@ HelpWidget::HelpWidget(QWidget* parent, const QString& _homeSite /*=""*/, const ...@@ -109,10 +108,9 @@ HelpWidget::HelpWidget(QWidget* parent, const QString& _homeSite /*=""*/, const
for ( int i = 0; i < registeredNamespaces.size() ; ++i) for ( int i = 0; i < registeredNamespaces.size() ; ++i)
{ {
QString registredFilename (helpEngine_->documentationFileName(registeredNamespaces[i])); QString registredFilename (helpEngine_->documentationFileName(registeredNamespaces[i]));
QStringList::iterator iter = std::find(helpFiles.begin(),helpFiles.end(),registredFilename);
// re-register documentation if location changed // re-register documentation if location changed
if (iter != helpFiles.end()) if (helpFiles.indexOf(registredFilename) != -1)
documentationFiles.push_back( registredFilename ); documentationFiles.push_back( registredFilename );
else else
helpEngine_->unregisterDocumentation(registeredNamespaces[i]); helpEngine_->unregisterDocumentation(registeredNamespaces[i]);
......
Supports Markdown
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