Commit d21645cc authored by hjk's avatar hjk Committed by hjk
Browse files

utils/environment: performance

Yes, showed up in callgrind.

Change-Id: Icb4fb9d8ed047eedf66e2e1a4bb2f24b9e217146
Reviewed-by: hjk
parent f9f37e68
......@@ -74,7 +74,7 @@ Environment::Environment()
Environment::Environment(QStringList env)
foreach (const QString &s, env) {
int i = s.indexOf("=");
int i = s.indexOf(QLatin1Char('='));
if (i >= 0) {
#ifdef Q_OS_WIN
m_values.insert(s.left(i).toUpper(), s.mid(i+1));
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