Valgrind: Add history completer to path choosers

Change-Id: Ib91c2d2fd78318e55b6a3185d51006d8e461f601
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Tobias Hunger
2013-11-25 14:38:44 +01:00
committed by hjk
parent b8d6e87d11
commit 6df5d07cea
2 changed files with 2 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ SuppressionDialog::SuppressionDialog(MemcheckErrorView *view, const QList<Error>
}
m_fileChooser->setExpectedKind(Utils::PathChooser::File);
m_fileChooser->setHistoryCompleter(QLatin1String("Valgrind.Suppression.History"));
m_fileChooser->setPath(defaultSuppFile.fileName());
m_fileChooser->setPromptDialogFilter(QLatin1String("*.supp"));
m_fileChooser->setPromptDialogTitle(tr("Select Suppression File"));