fordwardport r484782

svn path=/trunk/KDE/kdegraphics/kpdf/; revision=484783
remotes/origin/kpdf
Albert Astals Cid 21 years ago
parent d242a306cd
commit 6925c8a70b
  1. 2
      ui/presentationwidget.cpp
  2. 2
      ui/presentationwidget.h

@ -174,12 +174,14 @@ bool PresentationWidget::canUnloadPixmap( int pageNumber )
// <widget events>
/* 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 )
{

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

Loading…
Cancel
Save