mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
Merge pull request #3447
dac0c04
main: fix Monero GUI window centering (xiphon)
This commit is contained in:
commit
947a70a638
@ -339,7 +339,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();
|
||||
|
Loading…
Reference in New Issue
Block a user