From e90c18603a06bf1925b7d3410305fb7137a33042 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Wed, 1 Mar 2017 15:55:27 +0100 Subject: [PATCH] Fix high DPI scaling not android --- main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.cpp b/main.cpp index 7b13d482..8f36e026 100644 --- a/main.cpp +++ b/main.cpp @@ -64,6 +64,10 @@ void messageHandler(QtMsgType type, const QMessageLogContext &context, const QSt int main(int argc, char *argv[]) { + // Enable high DPI scaling on windows & linux +#if !defined(Q_OS_ANDROID) + QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#endif Monero::Wallet::init(argv[0], "monero-wallet-gui"); qInstallMessageHandler(messageHandler);