kcmkwinrules: Change file filter to "KWin Rules (*.kwinrule)"
This commit is contained in:
parent
afe0a5c041
commit
348ad276ac
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ void KCMRulesList::exportClicked()
|
||||||
int pos = rules_listbox->currentRow();
|
int pos = rules_listbox->currentRow();
|
||||||
assert(pos != -1);
|
assert(pos != -1);
|
||||||
QString path = QFileDialog::getSaveFileName(this, i18n("Export Rule"), QDir::home().absolutePath(),
|
QString path = QFileDialog::getSaveFileName(this, i18n("Export Rule"), QDir::home().absolutePath(),
|
||||||
i18n("KWin Rule (*.kwinrule)"));
|
i18n("KWin Rules (*.kwinrule)"));
|
||||||
if (path.isEmpty())
|
if (path.isEmpty())
|
||||||
return;
|
return;
|
||||||
KConfig config(path, KConfig::SimpleConfig);
|
KConfig config(path, KConfig::SimpleConfig);
|
||||||
|
@ -163,7 +163,7 @@ void KCMRulesList::exportClicked()
|
||||||
void KCMRulesList::importClicked()
|
void KCMRulesList::importClicked()
|
||||||
{
|
{
|
||||||
QString path = QFileDialog::getOpenFileName(this, i18n("Import Rules"), QDir::home().absolutePath(),
|
QString path = QFileDialog::getOpenFileName(this, i18n("Import Rules"), QDir::home().absolutePath(),
|
||||||
i18n("KWin Rule (*.kwinrule)"));
|
i18n("KWin Rules (*.kwinrule)"));
|
||||||
if (path.isEmpty())
|
if (path.isEmpty())
|
||||||
return;
|
return;
|
||||||
KConfig config(path, KConfig::SimpleConfig);
|
KConfig config(path, KConfig::SimpleConfig);
|
||||||
|
|
Loading…
Reference in a new issue