diff --git a/ksnapshot/ksnapshot.cpp b/ksnapshot/ksnapshot.cpp index 775796e5..7313f103 100644 --- a/ksnapshot/ksnapshot.cpp +++ b/ksnapshot/ksnapshot.cpp @@ -297,6 +297,12 @@ void KSnapshot::slotGrab() void KSnapshot::slotPrint() { KPrinter printer; + if (snapshot.width() > snapshot.height()) + printer.setOrientation(KPrinter::Landscape); + else + printer.setOrientation(KPrinter::Portrait); + + tqApp->processEvents(); if (printer.setup(this, i18n("Print Screenshot"))) {