Remove qFind usage from QCoreApplication

This is done per the mailing list discussion at
http://www.mail-archive.com/development@qt-project.org/msg01603.html

Change-Id: I1a067a4262d5442fb118089b859cad4dc1748c40
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
Giuseppe D'Angelo 2013-09-20 16:22:12 +02:00 committed by The Qt Project
parent ac0bacc8af
commit 9bb99d8130

View File

@ -2101,7 +2101,7 @@ QStringList QCoreApplication::arguments()
const QStringList allArguments = qWinCmdArgs(cmdline);
Q_ASSERT(allArguments.size() == origArgc);
for (int i = 0; i < origArgc; ++i)
if (qFind(av, avEnd, origArgv[i]) != avEnd)
if (std::find(av, avEnd, origArgv[i]) != avEnd)
list.push_back(allArguments.at(i));
#else