forked from qt-creator/qt-creator
Hg: Add history completers to path choosers
Change-Id: Ia7bfb9d1703a73d358fdf05bf41223209c78d45c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user