This repository was archived by the owner on Mar 28, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,10 @@ void ShowLicenseInfo()
8282// ///////////////////////////////////////////////////////////////////////////////////////
8383QStringList g_qtFlags = {
8484 " --disable-web-security" ,
85- " --enable-gpu-rasterization"
85+ " --enable-gpu-rasterization" ,
86+ #ifdef Q_OS_LINUX
87+ " --disable-gpu"
88+ #endif
8689};
8790
8891// ///////////////////////////////////////////////////////////////////////////////////////
@@ -107,7 +110,7 @@ int main(int argc, char *argv[])
107110 " the scale (DPI) of the desktop interface." );
108111 scaleOption.setValueName (" scale" );
109112 scaleOption.setDefaultValue (" auto" );
110-
113+
111114 auto platformOption = QCommandLineOption (" platform" , " Equivalant to QT_QPA_PLATFORM." );
112115 platformOption.setValueName (" platform" );
113116 platformOption.setDefaultValue (" default" );
@@ -170,7 +173,7 @@ int main(int argc, char *argv[])
170173 QApplication app (newArgc, newArgv);
171174 app.setApplicationName (" Jellyfin Media Player" );
172175
173- #if defined(Q_OS_WIN)
176+ #if defined(Q_OS_WIN)
174177 // Setting window icon on OSX will break user ability to change it
175178 app.setWindowIcon (QIcon (" :/images/icon.png" ));
176179#endif
You can’t perform that action at this time.
0 commit comments