VcsManager: Remove two unused methods

Change-Id: Ifbaad8bc772ed6911333efe324d9254b6bce5094
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2013-11-26 14:11:37 +01:00
parent 5a7f21b9a7
commit d3e7123d79
2 changed files with 0 additions and 22 deletions

View File

@@ -352,24 +352,6 @@ IVersionControl *VcsManager::checkout(const QString &versionControlType,
return 0;
}
bool VcsManager::findVersionControl(const QString &versionControlType)
{
foreach (IVersionControl * versionControl, allVersionControls()) {
if (versionControl->displayName() == versionControlType)
return true;
}
return false;
}
QString VcsManager::repositoryUrl(const QString &directory)
{
IVersionControl *vc = findVersionControlForDirectory(directory);
if (vc && vc->supportsOperation(Core::IVersionControl::GetRepositoryRootOperation))
return vc->vcsGetRepositoryURL(directory);
return QString();
}
bool VcsManager::promptToDelete(IVersionControl *vc, const QString &fileName)
{
QTC_ASSERT(vc, return true);

View File

@@ -71,10 +71,6 @@ public:
static IVersionControl *checkout(const QString &versionControlType,
const QString &directory,
const QByteArray &url);
// Used only by Trac plugin.
bool findVersionControl(const QString &versionControl);
// Used only by Trac plugin.
static QString repositoryUrl(const QString &directory);
// Shows a confirmation dialog, whether the file should also be deleted
// from revision control. Calls vcsDelete on the file. Returns false