Revert "KSnapshot: fix Print orientation in ksnapshot cannot be selected. This resolves issue #8."

This reverts commit 4ec69a7d08.
The original commit is no longer required after commit TDE/tdelibs 9cff750d.
pull/56/head
Michele Calgaro 1 year ago
parent 4ec69a7d08
commit 5eeaa69b25
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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")))
{

Loading…
Cancel
Save