aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.cpp5
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();