Commit 348ad276 authored by Alexander Potashev's avatar Alexander Potashev

kcmkwinrules: Change file filter to "KWin Rules (*.kwinrule)"

parent afe0a5c0
......@@ -151,7 +151,7 @@ void KCMRulesList::exportClicked()
int pos = rules_listbox->currentRow();
assert(pos != -1);
QString path = QFileDialog::getSaveFileName(this, i18n("Export Rule"), QDir::home().absolutePath(),
i18n("KWin Rule (*.kwinrule)"));
i18n("KWin Rules (*.kwinrule)"));
if (path.isEmpty())
return;
KConfig config(path, KConfig::SimpleConfig);
......@@ -163,7 +163,7 @@ void KCMRulesList::exportClicked()
void KCMRulesList::importClicked()
{
QString path = QFileDialog::getOpenFileName(this, i18n("Import Rules"), QDir::home().absolutePath(),
i18n("KWin Rule (*.kwinrule)"));
i18n("KWin Rules (*.kwinrule)"));
if (path.isEmpty())
return;
KConfig config(path, KConfig::SimpleConfig);
......
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