forked from qt-creator/qt-creator
Remove spaces in initializer lists
Format initializer lists code style like. Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -66,7 +66,7 @@ QString GerritPushDialog::determineRemoteBranch(const QString &localBranch)
|
||||
QString error;
|
||||
|
||||
if (!GitPlugin::client()->synchronousBranchCmd(
|
||||
m_workingDir, { "-r", "--contains", earliestCommit + '^' }, &output, &error)) {
|
||||
m_workingDir, {"-r", "--contains", earliestCommit + '^'}, &output, &error)) {
|
||||
return QString();
|
||||
}
|
||||
const QString head = "/HEAD";
|
||||
@@ -99,7 +99,7 @@ void GerritPushDialog::initRemoteBranches()
|
||||
|
||||
QString remotesPrefix("refs/remotes/");
|
||||
if (!GitPlugin::client()->synchronousForEachRefCmd(
|
||||
m_workingDir, { "--format=%(refname)\t%(committerdate:raw)", remotesPrefix }, &output)) {
|
||||
m_workingDir, {"--format=%(refname)\t%(committerdate:raw)", remotesPrefix}, &output)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user