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

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
pull/54/head
Emanoil Kotsev 2 years ago
parent abdb0d704e
commit 4ec69a7d08
No known key found for this signature in database
GPG Key ID: F1EEB8CD9FB16A50

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

Loading…
Cancel
Save