From 6925c8a70b2a64edaeefa29437eeea3539b2bdb0 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Thu, 1 Dec 2005 22:20:57 +0000 Subject: [PATCH] fordwardport r484782 svn path=/trunk/KDE/kdegraphics/kpdf/; revision=484783 --- ui/presentationwidget.cpp | 2 ++ ui/presentationwidget.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/presentationwidget.cpp b/ui/presentationwidget.cpp index b753889d7..57e9a7c72 100644 --- a/ui/presentationwidget.cpp +++ b/ui/presentationwidget.cpp @@ -174,12 +174,14 @@ bool PresentationWidget::canUnloadPixmap( int pageNumber ) // +/* This hack was here to fix 103718 but it's no longer necessary on KDE 3.5 and Lubos asked me to remove it bool PresentationWidget::event ( QEvent * e ) { if (e -> type() == QEvent::WindowDeactivate) KWin::clearState(winId(), NET::StaysOnTop); else if (e -> type() == QEvent::WindowActivate) KWin::setState(winId(), NET::StaysOnTop); return QDialog::event(e); } +*/ void PresentationWidget::keyPressEvent( QKeyEvent * e ) { diff --git a/ui/presentationwidget.h b/ui/presentationwidget.h index 6f4e75d78..5f25b6cac 100644 --- a/ui/presentationwidget.h +++ b/ui/presentationwidget.h @@ -46,7 +46,7 @@ class PresentationWidget : public QDialog, public DocumentObserver protected: // widget events - bool event( QEvent * e ); +// bool event( QEvent * e ); void keyPressEvent( QKeyEvent * e ); void wheelEvent( QWheelEvent * e ); void mousePressEvent( QMouseEvent * e );