[Qt] remove GUIUtil::getSaveFileName() default arguments

- harmonize function with GUIUtil::getOpenFileName()
- also make PNG Image singular (grammar)
This commit is contained in:
Philip Kaufmann
2013-11-11 22:57:25 +01:00
parent a6aa179699
commit 4f7d496b82
5 changed files with 9 additions and 10 deletions

View File

@@ -263,10 +263,9 @@ void AddressBookPage::done(int retval)
void AddressBookPage::on_exportButton_clicked()
{
// CSV is currently the only supported format
QString filename = GUIUtil::getSaveFileName(
this,
tr("Export Address List"), QString(),
tr("Comma separated file (*.csv)"));
QString filename = GUIUtil::getSaveFileName(this,
tr("Export Address List"), QString(),
tr("Comma separated file (*.csv)"), NULL);
if (filename.isNull()) return;