page is in -1..n-1 now

svn path=/trunk/KDE/kdegraphics/okular/; revision=753871
This commit is contained in:
Pino Toscano 2007-12-28 17:14:10 +00:00
parent 2c57eeb6e3
commit 6862247d3c

View file

@ -159,7 +159,7 @@ void PropertiesDialog::pageChanged( KPageWidgetItem *current, KPageWidgetItem *
void PropertiesDialog::slotFontReadingProgress( int page )
{
m_fontProgressBar->setValue( m_fontProgressBar->maximum() * page / m_document->pages() );
m_fontProgressBar->setValue( m_fontProgressBar->maximum() * ( page + 1 ) / m_document->pages() );
}
void PropertiesDialog::slotFontReadingEnded()