mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 10:25:36 +00:00
and yet more repaints go bye-bye
This commit is contained in:
parent
b59578a149
commit
8a9d9a54a8
|
@ -188,9 +188,10 @@ void PageItem::delayedRedraw()
|
|||
|
||||
void PageItem::pageHasChanged( int page, int flags )
|
||||
{
|
||||
Q_UNUSED(page)
|
||||
Q_UNUSED(flags)
|
||||
m_redrawTimer->start(REDRAW_TIMEOUT);
|
||||
if (m_pageNumber == page) {
|
||||
m_redrawTimer->start(REDRAW_TIMEOUT);
|
||||
}
|
||||
}
|
||||
|
||||
#include "pageitem.moc"
|
||||
|
|
Loading…
Reference in a new issue