summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2016-11-04 11:16:34 (GMT)
committerYuri Chornoivan <yurchor@ukr.net>2016-11-04 11:16:34 (GMT)
commite1535db5a05728ddd11f5490351c1b68476c93df (patch)
tree87be8f28039e87fcc23f592cd666bcff0d264f65
parent191e10300d70f9e7880905a0db737f0e058d5aa1 (diff)
Fix minor typos
-rw-r--r--part.cpp2
-rw-r--r--ui/pageview.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/part.cpp b/part.cpp
index 27c2ca8..26128c1 100644
--- a/part.cpp
+++ b/part.cpp
@@ -1224,7 +1224,7 @@ bool Part::slotImportPSFile()
}
QMimeDatabase mimeDatabase;
- QString filter = i18n("Postscript files lol (%1)", mimeDatabase.mimeTypeForName(QStringLiteral("application/postscript")).globPatterns().join(QLatin1Char(' ')));
+ QString filter = i18n("Postscript files (%1)", mimeDatabase.mimeTypeForName(QStringLiteral("application/postscript")).globPatterns().join(QLatin1Char(' ')));
QUrl url = QFileDialog::getOpenFileUrl( widget(), QString(), QUrl(), filter );
if ( url.isLocalFile() )
diff --git a/ui/pageview.cpp b/ui/pageview.cpp
index 3e8d650..b116b36 100644
--- a/ui/pageview.cpp
+++ b/ui/pageview.cpp
@@ -2820,7 +2820,7 @@ void PageView::mouseReleaseEvent( QMouseEvent * e )
else if ( choice == imageToFile )
{
// [3] save pixmap to file
- QString fileName = QFileDialog::getSaveFileName(this, i18n("Save file"), QString(), i18n("Images (*.png .jpeg"));
+ QString fileName = QFileDialog::getSaveFileName(this, i18n("Save file"), QString(), i18n("Images (*.png *.jpeg)"));
if ( fileName.isEmpty() )
d->messageWindow->display( i18n( "File not saved." ), QString(), PageViewMessage::Warning );
else