Merge pull request #127 from QuasarApp/dev

fix highdpi
This commit is contained in:
Andrei Yankovich 2022-02-22 22:46:18 +03:00 committed by GitHub
commit 2bc21ae325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,11 @@
int main(int argc, char *argv[])
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); // <--
#endif
QGuiApplication::setApplicationName("HanoiTowers"); // <--
QGuiApplication::setOrganizationName("QuasarApp"); // <--
QGuiApplication::setOrganizationDomain("https://github.com/QuasarApp"); // <--