Commit 0919ad87 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix width and height being switched when printing Custom size

BUGS: 383734
parent 862fd4f3
...@@ -537,8 +537,8 @@ QString FilePrinter::mediaPageSize( QPrinter &printer ) ...@@ -537,8 +537,8 @@ QString FilePrinter::mediaPageSize( QPrinter &printer )
case QPrinter::Letter: return QStringLiteral("Letter"); case QPrinter::Letter: return QStringLiteral("Letter");
case QPrinter::Tabloid: return QStringLiteral("Tabloid"); case QPrinter::Tabloid: return QStringLiteral("Tabloid");
case QPrinter::Custom: return QStringLiteral("Custom.%1x%2mm") case QPrinter::Custom: return QStringLiteral("Custom.%1x%2mm")
.arg( printer.heightMM() ) .arg( printer.widthMM() )
.arg( printer.widthMM() ); .arg( printer.heightMM() );
default: return QString(); default: return QString();
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment