From 271e137aa7f240330c4f2f89064adfc6e033939b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Tue, 4 Dec 2018 22:15:09 +0100 Subject: [PATCH 1/2] Test high DPI attribute --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 5bca1ea..75b59f9 100644 --- a/main.cpp +++ b/main.cpp @@ -1,5 +1,6 @@ #include "mainwindow.h" #include +#include int main(int argc, char *argv[]) { @@ -8,6 +9,7 @@ int main(int argc, char *argv[]) QCoreApplication::setOrganizationName(QStringLiteral("OpenRCT2")); QCoreApplication::setOrganizationDomain(QStringLiteral("OpenRCT2.org")); QCoreApplication::setApplicationName(QStringLiteral("OpenRCT2Launcher")); + QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); MainWindow w; w.show(); From cd6c0b85d188c76eecc5399ad8737b777e5c173b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Wed, 5 Dec 2018 00:05:39 +0100 Subject: [PATCH 2/2] Use Xenial --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ee0abc3..5d0f0db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ matrix: - DEPLOY_FILE=OpenRCT2Launcher-macos.zip - os: linux sudo: required - dist: trusty + dist: xenial before_install: - sudo apt-get update -qq || true install: