Commit c4885895 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Port away from QPrinter::setOrientation

parent 71487a63
......@@ -116,7 +116,7 @@ void KWQTableView::createPages(QPrinter *printer, QTextDocument *textDoc, bool s
int myDpi = printer->logicalDpiY();
if (Prefs::printStyle() == Prefs::EnumPrintStyle::Flashcard) {
int cardWidth = qRound(5 * qreal(myDpi));
int cardHeight = qRound(3 * qreal(myDpi));
Supports Markdown
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