mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
page is in -1..n-1 now
svn path=/trunk/KDE/kdegraphics/okular/; revision=753871
This commit is contained in:
parent
2c57eeb6e3
commit
6862247d3c
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue