forked from qt-creator/qt-creator
VcsBase & dependent: Fix const correctness
And some minor cleanups. Change-Id: Id0c2df6865ba84c054f0fb97c0ac42a76a128355 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -328,7 +328,7 @@ void VcsCommandPage::delayedInitialize()
|
||||
if (!JsonWizard::boolFromVariant(job.condition, wiz->expander()))
|
||||
continue;
|
||||
|
||||
QString commandString = wiz->expander()->expand(job.job.at(0));
|
||||
const QString commandString = wiz->expander()->expand(job.job.at(0));
|
||||
if (commandString.isEmpty())
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user