mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-10-26 16:45:24 +00:00
Fix remote debugging
This commit is contained in:
1 parent
0d18af84c6
commit
641f6ca079
1 file changed
+2
@@ -234,6 +234,8 @@ int main(int argc, char *argv[])
|
||||
// Disable QtWebEngine's automatic MPRIS registration - we handle it ourselves
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-features=MediaSessionService,HardwareMediaKeyHandling");
|
||||
#endif
|
||||
if (parser.isSet("remote-debugging-port"))
|
||||
qputenv("QTWEBENGINE_REMOTE_DEBUGGING", parser.value("remote-debugging-port").toUtf8());
|
||||
|
||||
QtWebEngineQuick::initialize();
|
||||
QApplication app(newArgc, newArgv);
|
||||
|
||||
Reference in new issue
Block a user