Bazaar: Add history completer to path choosers

Change-Id: I43f1e09ec40adb0135b37e4ffee521a8e41b3048
Reviewed-by: Hugues Delorme <delorme.hugues@fougsys.fr>
This commit is contained in:
Tobias Hunger
2013-11-25 14:31:57 +01:00
parent 3bdbc798ac
commit b8d6e87d11

View File

@@ -44,6 +44,7 @@ OptionsPageWidget::OptionsPageWidget(QWidget *parent)
m_ui.setupUi(this); m_ui.setupUi(this);
m_ui.commandChooser->setExpectedKind(Utils::PathChooser::ExistingCommand); m_ui.commandChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
m_ui.commandChooser->setPromptDialogTitle(tr("Bazaar Command")); m_ui.commandChooser->setPromptDialogTitle(tr("Bazaar Command"));
m_ui.commandChooser->setHistoryCompleter(QLatin1String("Bazaar.Command.History"));
} }
BazaarSettings OptionsPageWidget::settings() const BazaarSettings OptionsPageWidget::settings() const