Commit a694739a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add file extension

parent ef16b5f5
......@@ -199,7 +199,7 @@ void KDebugSettingsDialog::slotInsertCategories()
void KDebugSettingsDialog::slotSaveAs()
{
const QString path = QFileDialog::getSaveFileName(this, i18n("Save As"));
const QString path = QFileDialog::getSaveFileName(this, i18n("Save As"), QString(), i18n("KDebugSettings File (*.kdebugsettingsrules)"));
if (!path.isEmpty()) {
saveRules(path, true);
}
......@@ -207,7 +207,7 @@ void KDebugSettingsDialog::slotSaveAs()
void KDebugSettingsDialog::slotLoad()
{
const QString path = QFileDialog::getOpenFileName(this, i18n("Load Debug Settings Files"));
const QString path = QFileDialog::getOpenFileName(this, i18n("Load Debug Settings Files"), QString(), i18n("KDebugSettings File (*.kdebugsettingsrules)"));
if (!path.isEmpty()) {
mLoggings.readCategoriesFiles(path);
updateLogginsCategories();
......
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