mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Strict qt5.15 breaks poppler
This commit is contained in:
@ -775,7 +775,11 @@ void Viewer::mouseMoveEvent(QMouseEvent *event)
|
||||
|
||||
const QPixmap Viewer::pixmap()
|
||||
{
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
return content->pixmap();
|
||||
#else
|
||||
return content->pixmap(Qt::ReturnByValue);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Viewer::magnifyingGlassSwitch()
|
||||
|
Reference in New Issue
Block a user