diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp index 83498a936c..45224cf722 100644 --- a/src/qt/addressbookpage.cpp +++ b/src/qt/addressbookpage.cpp @@ -11,6 +11,7 @@ #include #include +#include #include #include @@ -326,7 +327,7 @@ void AddressBookPage::exportClicked() QString filename = GUIUtil::getSaveFileName( this, tr("Export Address Book Data"), QString(), - tr("Comma separated file (*.csv)")); + tr("Comma separated file", "Name of CSV file format") + QLatin1String(" (*.csv)"), nullptr); if (filename.isNull()) return; diff --git a/src/qt/qrcodedialog.cpp b/src/qt/qrcodedialog.cpp index c96a3c54c1..c17e5cd544 100644 --- a/src/qt/qrcodedialog.cpp +++ b/src/qt/qrcodedialog.cpp @@ -6,6 +6,7 @@ #include "guiutil.h" #include "optionsmodel.h" +#include #include #include @@ -147,7 +148,9 @@ void QRCodeDialog::on_messageEdit_textChanged() void QRCodeDialog::on_saveAsButton_clicked() { - QString fn = GUIUtil::getSaveFileName(this, tr("Save QR Code"), QString(), tr("PNG Images (*.png)")); + QString fn = GUIUtil::getSaveFileName( + this, tr("Save QR Code"), QString(), + tr("PNG Image", "Name of PNG file format") + QLatin1String(" (*.png)"), nullptr); if (!fn.isEmpty()) myImage.scaled(EXPORT_IMAGE_SIZE, EXPORT_IMAGE_SIZE).save(fn); } diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index ed99b8cbbf..783f65a599 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -284,7 +285,7 @@ void TransactionView::exportClicked() QString filename = GUIUtil::getSaveFileName( this, tr("Export Transaction Data"), QString(), - tr("Comma separated file (*.csv)")); + tr("Comma separated file", "Name of CSV file format") + QLatin1String(" (*.csv)"), nullptr); if (filename.isNull()) return;