small refactoring

* change `writeFormatters` method to more intuitive
`removeUnusedFormatters`
* use class property as filename
This commit is contained in:
2016-09-19 23:49:11 +03:00
parent ee6cf60aa4
commit 877f58784b
3 changed files with 12 additions and 9 deletions

View File

@ -140,7 +140,7 @@ void AWFormatterConfig::execDialog()
case 1:
default:
m_helper->writeFormatters(data);
m_helper->writeFormatters(data.keys());
m_helper->removeUnusedFormatters(data.keys());
break;
}
}