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
2 changes: 1 addition & 1 deletion reader/document/PDFModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ QStringList PDFDocument::saveFilter() const
{
qCDebug(appLog) << "Retrieving PDF save filters";

return QStringList() << "Portable document format (*.pdf)";
return QStringList() << "Pdf Files (*.pdf)";
}

bool PDFDocument::save() const
Expand Down
4 changes: 2 additions & 2 deletions reader/document/XpsDocumentAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ Page *XpsDocumentAdapter::page(int index) const

QStringList XpsDocumentAdapter::saveFilter() const
{
return QStringList() << QStringLiteral("XPS files (*.xps)")
<< QStringLiteral("Portable document format (*.pdf)");
return QStringList() << QStringLiteral("XPS Files (*.xps)")
<< QStringLiteral("Pdf Files (*.pdf)");
}

bool XpsDocumentAdapter::save() const
Expand Down
4 changes: 2 additions & 2 deletions reader/uiframe/DocSheet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,9 +804,9 @@ QString DocSheet::filter()
if (m_renderer && m_renderer->opened()) {
// Try to get filters from document if available
// For now, return both XPS and PDF filters
return QStringLiteral("XPS files (*.xps);;Portable document format (*.pdf)");
return QStringLiteral("XPS Files (*.xps);;Pdf Files (*.pdf)");
}
return QStringLiteral("XPS files (*.xps);;Portable document format (*.pdf)");
return QStringLiteral("XPS Files (*.xps);;Pdf Files (*.pdf)");
}
#endif

Expand Down