File better-hidpi-support.patch of Package minutor

diff --git a/main.cpp b/main.cpp
index 22db60e..1686b66 100644
--- a/main.cpp
+++ b/main.cpp
@@ -6,6 +6,14 @@
 #include "minutor.h"
 
 int main(int argc, char *argv[]) {
+  QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
+  QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
+  QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
+#endif  // Qt 5.14
+#endif  // Qt 5.6
+
   QApplication app(argc, argv);
 
   QString locale = QLocale::system().name();
openSUSE Build Service is sponsored by