diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-11-25 14:34:58 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-02-07 14:23:59 +0100 |
commit | 8b3de15100970715342036f9055f8af069d5fc28 (patch) | |
tree | ce9c9564ef6f3cf6ad47b2f0149fb4de44b37938 | |
parent | 7cef40ae257762d6ba0359febe7ba6eb3c82df81 (diff) |
Hg: Add history completers to path choosers
Change-Id: Ia7bfb9d1703a73d358fdf05bf41223209c78d45c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
-rw-r--r-- | src/plugins/mercurial/optionspage.cpp | 1 | ||||
-rw-r--r-- | src/plugins/mercurial/srcdestdialog.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/mercurial/optionspage.cpp b/src/plugins/mercurial/optionspage.cpp index 390be856eb..eeeef7c8b0 100644 --- a/src/plugins/mercurial/optionspage.cpp +++ b/src/plugins/mercurial/optionspage.cpp @@ -45,6 +45,7 @@ OptionsPageWidget::OptionsPageWidget(QWidget *parent) : { m_ui.setupUi(this); m_ui.commandChooser->setExpectedKind(Utils::PathChooser::ExistingCommand); + m_ui.commandChooser->setHistoryCompleter(QLatin1String("Mercurial.Command.History")); m_ui.commandChooser->setPromptDialogTitle(tr("Mercurial Command")); } diff --git a/src/plugins/mercurial/srcdestdialog.cpp b/src/plugins/mercurial/srcdestdialog.cpp index 8b45cdd12a..2fc7ea139e 100644 --- a/src/plugins/mercurial/srcdestdialog.cpp +++ b/src/plugins/mercurial/srcdestdialog.cpp @@ -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; |