Get paper format names from Qt

Review Request #130176 - Created July 10, 2017 and discarded

Information
Oliver Sander
okular
master
Reviewers
okular

The method FilePrinter::mediaPageSize contains a long hard-coded list of names of the different paper format names (like 'A4', 'Letter', etc.). This patch removes the list and gets the names from Qt instead.

Actually, this may change three obscure format names, but it really smells like they were wrong to begin with. Look for the lines marked

// Correct translation?

in the old code.


  
Albert Astals Cid
Oliver Sander
Review request changed

Status: Discarded

Loading...