diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2023-03-02 12:58:32 +0000 |
---|---|---|
committer | Emanoil Kotsev <deloptes@gmail.com> | 2023-03-03 09:52:50 +0000 |
commit | 4ec69a7d0805434abf3897f6d38e4c650fa56582 (patch) | |
tree | 00610c75a2b094f3b4f6c656f3bf1685792aaadb /ksnapshot | |
parent | abdb0d704ee7c4305969e31612c6e4c20b26f0f8 (diff) | |
download | tdegraphics-4ec69a7d0805434abf3897f6d38e4c650fa56582.tar.gz tdegraphics-4ec69a7d0805434abf3897f6d38e4c650fa56582.zip |
KSnapshot: fix Print orientation in ksnapshot cannot be selected. This resolves issue #8.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'ksnapshot')
-rw-r--r-- | ksnapshot/ksnapshot.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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"))) { |