mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-11 05:14:34 +00:00
main: fix Monero GUI window centering
This commit is contained in:
parent
02ae14fd6b
commit
dac0c04d20
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue