mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-14 11:53:21 +00:00
Make clang-tidy happy
We know we will never have more than t_dir pages but since QList::count can be an int, make the index variable also be int and let clang-tidy be happy
This commit is contained in:
parent
5f42e08e25
commit
da2e03ec5a
|
@ -379,7 +379,7 @@ bool TIFFGenerator::print( QPrinter& printer )
|
|||
document()->currentPage() + 1,
|
||||
document()->bookmarkedPageList() );
|
||||
|
||||
for ( tdir_t i = 0; i < pageList.count(); ++i )
|
||||
for ( int i = 0; i < pageList.count(); ++i )
|
||||
{
|
||||
if ( !TIFFSetDirectory( d->tiff, mapPage( pageList[i] - 1 ) ) )
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue