Commit da2e03ec authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

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
parent 5f42e08e
Pipeline #12357 passed with stage
in 11 minutes and 18 seconds
......@@ -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;
......
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