diff options
author | Saturneric <[email protected]> | 2021-12-08 01:28:19 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-08 01:28:19 +0000 |
commit | 088acc618f0b9925577ee6f74945eb37986aaeda (patch) | |
tree | a7691b1609176fc8cb898f1743486ede6a88a6a8 /src/main.cpp | |
parent | Modified Project Configure & Update CI & Stable UI. (diff) | |
download | GpgFrontend-088acc618f0b9925577ee6f74945eb37986aaeda.tar.gz GpgFrontend-088acc618f0b9925577ee6f74945eb37986aaeda.zip |
Fix retina screen problem
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 96d3c4d8..b0537962 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -42,6 +42,11 @@ int main(int argc, char* argv[]) { QApplication app(argc, argv); QApplication::setWindowIcon(QIcon(":gpgfrontend.png")); +#ifdef MACOS + // support retina screen + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); +#endif + // logging system init_logging(); |