mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Bugfix: LLVM compiler warnings
This commit is contained in:
@ -688,7 +688,7 @@ QVariant PDFThumbnailsItemModel::data(const QModelIndex& index, int role) const
|
||||
QString key = getKey(index.row());
|
||||
|
||||
QPixmap pixmap;
|
||||
if (!m_thumbnailCache.find(key, pixmap))
|
||||
if (!m_thumbnailCache.find(key, &pixmap))
|
||||
{
|
||||
QImage thumbnail = m_proxy->drawThumbnailImage(index.row(), m_thumbnailSize);
|
||||
if (!thumbnail.isNull())
|
||||
|
Reference in New Issue
Block a user