Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/qt/addressbookpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <QSortFilterProxyModel>
#include <QClipboard>
#include <QLatin1String>
#include <QMessageBox>
#include <QMenu>

Expand Down Expand Up @@ -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;

Expand Down
5 changes: 4 additions & 1 deletion src/qt/qrcodedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "guiutil.h"
#include "optionsmodel.h"

#include <QLatin1String>
#include <QPixmap>
#include <QUrl>

Expand Down Expand Up @@ -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);
}
Expand Down
3 changes: 2 additions & 1 deletion src/qt/transactionview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <QDoubleValidator>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLatin1String>
#include <QLineEdit>
#include <QTableView>
#include <QHeaderView>
Expand Down Expand Up @@ -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;

Expand Down