Skip to content

Commit

Permalink
AA_EnableHighDpiScaling flags
Browse files Browse the repository at this point in the history
  • Loading branch information
elgiano authored and mossheim committed Apr 11, 2020
1 parent b7de8a4 commit bc56a6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions QtCollider/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ void QtCollider::init() {
static char qcArg0[] = "SuperCollider";
static char* qcArgv[1] = { qcArg0 };

QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

QcApplication* qcApp = new QcApplication(qcArgc, qcArgv);

qcApp->setQuitOnLastWindowClosed(false);
Expand Down
1 change: 1 addition & 0 deletions editors/sc-ide/core/main_function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
using namespace ScIDE;

int main(int argc, char* argv[]) {
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);

QStringList arguments(QApplication::arguments());
Expand Down

0 comments on commit bc56a6e

Please sign in to comment.