mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 12:57:45 +00:00
Enable HighDPI scaling and HighDPI pixmaps
This commit is contained in:
parent
9210400e33
commit
46506f0a43
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
#include "gameinstaller.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
#ifdef NDEBUG
|
||||
|
|
Loading…
Add table
Reference in a new issue