diff --git a/src/main/main.cpp b/src/main/main.cpp index e3aca5e9..07ecce91 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -331,7 +331,7 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw // screen settings // Mobile is designed on 128dpi qreal ref_dpi = 128; - QSize screenAvailableSize = QGuiApplication::primaryScreen()->availableVirtualSize(); + QSize screenAvailableSize = QGuiApplication::primaryScreen()->availableSize(); QRect rect = QGuiApplication::primaryScreen()->geometry(); qreal dpi = QGuiApplication::primaryScreen()->logicalDotsPerInch(); qreal physicalDpi = QGuiApplication::primaryScreen()->physicalDotsPerInch();