Add support for high dpi bitmap resources
--HG-- branch : feature
This commit is contained in:
parent
6115b02b5b
commit
c57201fe82
|
@ -541,6 +541,9 @@ void VApplication::InitOptions()
|
||||||
qDebug()<<"Command-line arguments:"<<this->arguments();
|
qDebug()<<"Command-line arguments:"<<this->arguments();
|
||||||
qDebug()<<"Process ID:"<<this->applicationPid();
|
qDebug()<<"Process ID:"<<this->applicationPid();
|
||||||
|
|
||||||
|
// Enable support for HiDPI bitmap resources
|
||||||
|
setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||||
|
|
||||||
if (VApplication::IsGUIMode())// By default console version uses system locale
|
if (VApplication::IsGUIMode())// By default console version uses system locale
|
||||||
{
|
{
|
||||||
LoadTranslation(ValentinaSettings()->GetLocale());
|
LoadTranslation(ValentinaSettings()->GetLocale());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user