forked from qt-creator/qt-creator
Vcs: Move handling of settings from VcsBaseClient to VcsBaseClientImpl
... and update users of that functionality accordingly. Unexpected plus: Now every supported VCS actually saves their setting when requested. Change-Id: I02db7b2ce14e5f52d26409b2a01aea290c2a294a Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "clonewizard.h"
|
||||
#include "clonewizardpage.h"
|
||||
#include "mercurialclient.h"
|
||||
#include "mercurialplugin.h"
|
||||
#include "mercurialsettings.h"
|
||||
|
||||
@@ -74,7 +75,7 @@ VcsCommand *CloneWizard::createCommand(Utils::FileName *checkoutDir)
|
||||
if (!cwp)
|
||||
return 0;
|
||||
|
||||
const MercurialSettings &settings = MercurialPlugin::settings();
|
||||
const VcsBaseClientSettings &settings = MercurialPlugin::client()->settings();
|
||||
|
||||
QString path = cwp->path();
|
||||
QString directory = cwp->directory();
|
||||
|
||||
Reference in New Issue
Block a user