diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-02-19 22:15:08 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-02-19 22:15:08 -0500 |
| commit | 5069e6ecaeb8ff20e20952835690b6b3db5aa056 (patch) | |
| tree | 10c76d7531dd58aca15472d8d9c9a840e2bb1efc /src/main | |
| parent | 7c38a836d3cff6a2c7ebb8782cc9d73d01c7b992 (diff) | |
| parent | 98abdaa5d54daeb506acefeff901d8c4ba5c9eb6 (diff) | |
| download | monzero-gui-5069e6ecaeb8ff20e20952835690b6b3db5aa056.tar.gz monzero-gui-5069e6ecaeb8ff20e20952835690b6b3db5aa056.tar.xz monzero-gui-5069e6ecaeb8ff20e20952835690b6b3db5aa056.zip | |
Merge pull request #2776
98abdaa build: fix all warnings, treat warnings as errors (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 8d710981..9606ad7a 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -269,7 +269,7 @@ int main(int argc, char *argv[]) // screen settings // Mobile is designed on 128dpi qreal ref_dpi = 128; - QRect geo = QApplication::desktop()->availableGeometry(); + QRect geo = QGuiApplication::primaryScreen()->availableGeometry(); QRect rect = QGuiApplication::primaryScreen()->geometry(); qreal dpi = QGuiApplication::primaryScreen()->logicalDotsPerInch(); qreal physicalDpi = QGuiApplication::primaryScreen()->physicalDotsPerInch(); |
