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

When in non continous mode and scrolling up a page, set the viewport at the...

When in non continous mode and scrolling up a page, set the viewport at the bottom of the page (Albert)

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=370246
parent f7406846
......@@ -68,6 +68,7 @@ More items (first items will enter 'In progress list' first):
-> investigate 'Splash' lack of smoothness at low resolutions (see lines in thumbnails)
Done (newest feature comes firts):
-> FIX: When in non continous mode and scrolling up a page, set the viewport at the bottom of the page (Albert)
-> FIX: Dynamic zoom repaints the page while rescaling.
-> ADD: Show the window maximized when the user opens the program for the very first time (Albert)
-> ADD: Use 'Generators' as providers for contents generation.
......
......@@ -795,7 +795,10 @@ void PageView::wheelEvent( QWheelEvent *e )
{
// go to prev page
if ( d->vectorIndex > 0 )
{
d->document->setCurrentPage( d->items[ d->vectorIndex - 1 ]->pageNumber() );
verticalScrollBar()->setValue(verticalScrollBar()->maxValue());
}
}
else
QScrollView::wheelEvent( 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