From c57201fe82f09f7d74eb5c0ebe3e122c7a7eb5e3 Mon Sep 17 00:00:00 2001 From: Benjamin Nauck Date: Sat, 2 Jan 2016 02:40:33 +0100 Subject: [PATCH] Add support for high dpi bitmap resources --HG-- branch : feature --- src/app/valentina/core/vapplication.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/valentina/core/vapplication.cpp b/src/app/valentina/core/vapplication.cpp index c14082338..c8c4374fc 100644 --- a/src/app/valentina/core/vapplication.cpp +++ b/src/app/valentina/core/vapplication.cpp @@ -541,6 +541,9 @@ void VApplication::InitOptions() qDebug()<<"Command-line arguments:"<arguments(); qDebug()<<"Process ID:"<applicationPid(); + // Enable support for HiDPI bitmap resources + setAttribute(Qt::AA_UseHighDpiPixmaps); + if (VApplication::IsGUIMode())// By default console version uses system locale { LoadTranslation(ValentinaSettings()->GetLocale());