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
remotes/thinkspoon/wilder
Albert Astals Cid 6 years ago
parent 5f42e08e25
commit da2e03ec5a
  1. 2
      generators/tiff/generator_tiff.cpp

@ -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…
Cancel
Save