qt: Do not translate file extensions

This commit is contained in:
Hennadii Stepanov
2021-02-23 17:17:24 +02:00
parent 84f6c695c6
commit 88df300f20
6 changed files with 8 additions and 6 deletions

View File

@@ -120,7 +120,9 @@ void QRImageWidget::saveImage()
{
if (!GUIUtil::HasPixmap(this))
return;
QString fn = GUIUtil::getSaveFileName(this, tr("Save QR Code"), QString(), tr("PNG Image (*.png)"), nullptr);
QString fn = GUIUtil::getSaveFileName(
this, tr("Save QR Code"), QString(),
tr("PNG Image", "Name of PNG file format") + QLatin1String(" (*.png)"), nullptr);
if (!fn.isEmpty())
{
exportImage().save(fn);