Commit 5df88137 authored by Pawel Polanski's avatar Pawel Polanski
Browse files

Symbian: Make error concerning capabilities prettier

parent f78058be
......@@ -1282,7 +1282,14 @@ QStringList Qt4ProFileNode::symbianCapabilities() const
QStringList result; //let's make the result pretty
int index;
foreach (QString lowerCase, lowerCasedResult) {
index = all.indexOf(lowerCase);
for (int i = 0; i < all.count(); ++i) {
index = -1;
if (QString::compare(lowerCase, all.at(i),
Qt::CaseInsensitive) == 0) {
index = i;
break;
}
}
if (index != -1)
result << all.at(index);
else
......
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