We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7da56a commit 47026a3Copy full SHA for 47026a3
src/main.cpp
@@ -61,6 +61,8 @@ int main(int argc,
61
airbag_init_fd(fd, crash_handled, EXECUTION_FILENAME);
62
#endif
63
64
+ QApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
65
+
66
QApplication a(argc, argv);
67
QCommandLineParser parser;
68
parser.setApplicationDescription("JamesDSP for Linux");
@@ -89,7 +91,8 @@ int main(int argc,
89
91
90
92
QApplication::setQuitOnLastWindowClosed(false);
93
MainWindow w(QString::fromLocal8Bit(exepath), parser.isSet(tray), parser.isSet(minst));
- w.setFixedSize(w.geometry().width(), w.geometry().height());
94
95
+ w.setFixedSize(w.geometry().width(), w.geometry().height());
96
w.setGeometry(
97
QStyle::alignedRect(
98
Qt::LeftToRight,
0 commit comments