diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-04-29 14:16:32 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-04-29 14:16:32 -0400 |
| commit | 947a70a638ab2ae4d121ce45a6cf0e885d576e3d (patch) | |
| tree | cb119414888263451e8855a35453ed266380e96b /src/main | |
| parent | 9041e73345887a675225b45635f5159599b2eeb4 (diff) | |
| parent | dac0c04d20f06c587bb5870e42e1894b420eca15 (diff) | |
| download | monzero-gui-947a70a638ab2ae4d121ce45a6cf0e885d576e3d.tar.gz monzero-gui-947a70a638ab2ae4d121ce45a6cf0e885d576e3d.tar.xz monzero-gui-947a70a638ab2ae4d121ce45a6cf0e885d576e3d.zip | |
Merge pull request #3447
dac0c04 main: fix Monero GUI window centering (xiphon)
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index 208ede89..165f9ae1 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -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(); |
