Fix macOS developer-build due to unused variable

This commit is contained in:
Sergio Martins
2021-02-22 10:46:56 +00:00
parent 421746c943
commit b36dcf1325
2 changed files with 2 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ inline qreal logicalDpiFactor(const QWidget *w)
{
#ifdef Q_OS_MACOS
// It's always 72 on mac
Q_UNUSED(w);
return 1;
#else
return w->logicalDpiX() / 96.0;