Hg: Add history completers to path choosers

Change-Id: Ia7bfb9d1703a73d358fdf05bf41223209c78d45c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-11-25 14:34:58 +01:00
parent 7cef40ae25
commit 8b3de15100
2 changed files with 2 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ SrcDestDialog::SrcDestDialog(QWidget *parent) :
{
m_ui->setupUi(this);
m_ui->localPathChooser->setExpectedKind(Utils::PathChooser::ExistingDirectory);
m_ui->localPathChooser->setHistoryCompleter(QLatin1String("Hg.SourceDir.History"));
QUrl repoUrl(getRepoUrl());
if (repoUrl.isEmpty())
return;