Merge pull request #1034 from Scrumplex/detect-performance-features

This commit is contained in:
Sefa Eyeoglu 2022-09-05 17:45:17 +02:00 committed by GitHub
commit 8e3356f11a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 68 additions and 18 deletions

View file

@ -162,7 +162,7 @@ void LauncherPartLaunch::executeTask()
}
#ifdef Q_OS_LINUX
if (instance->settings()->get("EnableFeralGamemode").toBool())
if (instance->settings()->get("EnableFeralGamemode").toBool() && APPLICATION->capabilities() & Application::SupportsGameMode)
{
auto pid = m_process.processId();
if (pid)