Commit bcf32aaf authored by Albert Astals Cid's avatar Albert Astals Cid

Build on KDE 3.3

svn path=/trunk/kdegraphics/kpdf/; revision=386560
parent f3b7d185
......@@ -16,6 +16,7 @@
#include <qpainter.h>
#include <kiconloader.h>
#include <kaccelmanager.h>
#include <kdeversion.h>
// local includes
#include "core/document.h"
......@@ -397,7 +398,9 @@ HoverButton::HoverButton( QWidget * parent )
: QPushButton( parent ), m_hovering( false )
{
setMouseTracking( true );
#if KDE_IS_VERSION(3,3,90)
KAcceleratorManager::setNoAccel( this );
#endif
}
void HoverButton::mouseMoveEvent( QMouseEvent * e )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment