forked from qt-creator/qt-creator
Add whitespace after control keywords
find -name \*.cpp -o -name \*.h | \ xargs sed -Ei 's/ (for|foreach|if|switch|while)\(/ \1 (/g' Change-Id: I9efdff4bf0c8c01a52baaaeb75198483c77b0390 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
3747e941ad
commit
a44aa55502
@@ -561,7 +561,7 @@ void PerforcePlugin::updateCheckout(const QString &workingDir, const QStringList
|
||||
perforceVersionControl()->emitRepositoryChanged(workingDir);
|
||||
} else {
|
||||
const QChar slash = QLatin1Char('/');
|
||||
foreach(const QString &dir, dirs)
|
||||
foreach (const QString &dir, dirs)
|
||||
perforceVersionControl()->emitRepositoryChanged(workingDir + slash + dir);
|
||||
}
|
||||
}
|
||||
@@ -864,7 +864,7 @@ bool PerforcePlugin::managesDirectoryFstat(const QString &directory)
|
||||
RunFullySynchronous);
|
||||
managed = result.stdOut.contains(QLatin1String("depotFile"))
|
||||
|| result.stdErr.contains(QLatin1String("... - no such file(s)"));
|
||||
} while(false);
|
||||
} while (false);
|
||||
|
||||
m_managedDirectoryCache.insert(directory, managed);
|
||||
return managed;
|
||||
|
||||
Reference in New Issue
Block a user