Commit 6862247d authored by Pino Toscano's avatar Pino Toscano

page is in -1..n-1 now

svn path=/trunk/KDE/kdegraphics/okular/; revision=753871
parent 2c57eeb6
......@@ -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()
......
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