Commit ab7263ad authored by Tobias Hunger's avatar Tobias Hunger

Perforce: Add history completer to path choosers

Change-Id: I15827d955160ca61e0dfdf2c809808c3d643a1ed
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 56b67eb7
......@@ -48,6 +48,7 @@ SettingsPageWidget::SettingsPageWidget(QWidget *parent) :
m_ui.setupUi(this);
m_ui.errorLabel->clear();
m_ui.pathChooser->setPromptDialogTitle(tr("Perforce Command"));
m_ui.pathChooser->setHistoryCompleter(QLatin1String("Perforce.Command.History"));
m_ui.pathChooser->setExpectedKind(PathChooser::Command);
connect(m_ui.testPushButton, SIGNAL(clicked()), this, SLOT(slotTest()));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment