Commit e01387cc authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Change ctrl+wheel zoom to have the same behaviour that konqueror, kmail, etc

ctrl+up makes things bigger and down smaller
Thanks Christian Mueller for the patch
CCMAIL:eros.kde@email.it

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=357250
parent 0f97bca0
......@@ -605,7 +605,7 @@ void PageView::wheelEvent( QWheelEvent *e )
int delta = e->delta();
e->accept();
if ( (e->state() & ControlButton) == ControlButton ) {
if ( e->delta() > 0 )
if ( e->delta() < 0 )
slotZoomOut();
else
slotZoomIn();
......
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