Commit 95306dbf authored by Tobias Hunger's avatar Tobias Hunger

CppTools: Add history completer to path choosers

Change-Id: Iaedd5eb2890d19761c342d248e600b50e43be979
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent ab70e6c2
......@@ -254,6 +254,7 @@ CppFileSettingsWidget::CppFileSettingsWidget(QWidget *parent) :
foreach (const QString &suffix, headerMt.suffixes())
m_ui->headerSuffixComboBox->addItem(suffix);
m_ui->licenseTemplatePathChooser->setExpectedKind(Utils::PathChooser::File);
m_ui->licenseTemplatePathChooser->setHistoryCompleter(QLatin1String("Cpp.LicenseTemplate.History"));
m_ui->licenseTemplatePathChooser->addButton(tr("Edit..."), this, SLOT(slotEdit()));
}
......
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