mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Replace all uses of devicePixelRatio with devicePixelRatioF
This commit is contained in:
@ -981,7 +981,7 @@ void Viewer::setPageUnavailableMessage()
|
||||
void Viewer::configureContent(QString msg)
|
||||
{
|
||||
content->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
|
||||
if (!(devicePixelRatio() > 1))
|
||||
if (!(devicePixelRatioF() > 1))
|
||||
content->setScaledContents(true);
|
||||
content->setAlignment(Qt::AlignTop | Qt::AlignHCenter);
|
||||
content->setText(msg);
|
||||
|
Reference in New Issue
Block a user