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 );