Commit bf1bc57e authored by Laurent Montel's avatar Laurent Montel 😁

Add filter

parent 099f812f
......@@ -243,7 +243,7 @@ void KDebugSettingsDialog::slotApply()
void KDebugSettingsDialog::slotInsertCategories()
{
const QString path = QFileDialog::getOpenFileName(this, i18n("Insert Categories"));
const QString path = QFileDialog::getOpenFileName(this, i18n("Insert Categories"), QString(), QStringLiteral("%1 (*.categories)").arg(i18n("Categories Files")));
if (!path.isEmpty()) {
const KdeLoggingCategory::List insertCategoriesList = KDebugSettingsUtil::readLoggingCategoriesForInserting(path, mCategoriesList);
LoggingCategory::List newCategories;
......
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