forked from qt-creator/qt-creator
VCS: Use namespace Utils
Change-Id: I41c818362398fd194995baf5b1adb16899e83217 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
dc29aafb52
commit
afb60d0434
@@ -40,6 +40,7 @@
|
||||
|
||||
using namespace Core;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace VcsBase {
|
||||
namespace Internal {
|
||||
@@ -68,8 +69,7 @@ VcsCommandPageFactory::VcsCommandPageFactory()
|
||||
setTypeIdsSuffix(QLatin1String("VcsCommand"));
|
||||
}
|
||||
|
||||
Utils::WizardPage *VcsCommandPageFactory::create(JsonWizard *wizard, Id typeId,
|
||||
const QVariant &data)
|
||||
WizardPage *VcsCommandPageFactory::create(JsonWizard *wizard, Id typeId, const QVariant &data)
|
||||
{
|
||||
Q_UNUSED(wizard);
|
||||
|
||||
@@ -286,8 +286,8 @@ void VcsCommandPage::delayedInitialize()
|
||||
extraArgs << tmp;
|
||||
}
|
||||
|
||||
ShellCommand *command
|
||||
= vc->createInitialCheckoutCommand(repo, Utils::FileName::fromString(base),
|
||||
Core::ShellCommand *command
|
||||
= vc->createInitialCheckoutCommand(repo, FileName::fromString(base),
|
||||
name, extraArgs);
|
||||
|
||||
foreach (const JobData &job, m_additionalJobs) {
|
||||
@@ -310,7 +310,7 @@ void VcsCommandPage::delayedInitialize()
|
||||
|
||||
const QString dir = wiz->expander()->expand(job.workDirectory);
|
||||
const int timeoutS = command->defaultTimeoutS() * job.timeOutFactor;
|
||||
command->addJob(Utils::FileName::fromUserInput(commandString), args, timeoutS, dir);
|
||||
command->addJob(FileName::fromUserInput(commandString), args, timeoutS, dir);
|
||||
}
|
||||
|
||||
start(command);
|
||||
|
||||
Reference in New Issue
Block a user