mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Enable high dpi
This commit is contained in:
parent
4a7b005c64
commit
e3acb533ad
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ int main(int argc, char *argv[])
|
|||
QCoreApplication::setApplicationName("nheko");
|
||||
QCoreApplication::setApplicationVersion("Ωμέγa");
|
||||
QCoreApplication::setOrganizationName("Nheko");
|
||||
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
|
||||
QFontDatabase::addApplicationFont(":/fonts/fonts/OpenSans/OpenSans-Regular.ttf");
|
||||
QFontDatabase::addApplicationFont(":/fonts/fonts/OpenSans/OpenSans-Italic.ttf");
|
||||
|
|
Loading…
Reference in a new issue