From 4ec69a7d0805434abf3897f6d38e4c650fa56582 Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Thu, 2 Mar 2023 12:58:32 +0000 Subject: KSnapshot: fix Print orientation in ksnapshot cannot be selected. This resolves issue #8. Signed-off-by: Emanoil Kotsev --- ksnapshot/ksnapshot.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ksnapshot') diff --git a/ksnapshot/ksnapshot.cpp b/ksnapshot/ksnapshot.cpp index 7313f103..775796e5 100644 --- a/ksnapshot/ksnapshot.cpp +++ b/ksnapshot/ksnapshot.cpp @@ -297,12 +297,6 @@ 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"))) { -- cgit v1.2.3