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:
@@ -71,7 +71,7 @@ bool BazaarControl::managesFile(const QString &workingDirectory, const QString &
|
||||
|
||||
bool BazaarControl::isConfigured() const
|
||||
{
|
||||
const Utils::FileName binary = m_bazaarClient->settings()->binaryPath();
|
||||
const Utils::FileName binary = m_bazaarClient->vcsBinary();
|
||||
if (binary.isEmpty())
|
||||
return false;
|
||||
QFileInfo fi = binary.toFileInfo();
|
||||
@@ -148,8 +148,3 @@ void BazaarControl::changed(const QVariant &v)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void BazaarControl::emitConfigurationChanged()
|
||||
{
|
||||
emit configurationChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user