| 1704 | } |
| 1705 | |
| 1706 | void Application::updateCapabilities() |
| 1707 | { |
| 1708 | m_capabilities = None; |
| 1709 | if (!getMSAClientID().isEmpty()) |
| 1710 | m_capabilities |= SupportsMSA; |
| 1711 | if (!getFlameAPIKey().isEmpty()) |
| 1712 | m_capabilities |= SupportsFlame; |
| 1713 | |
| 1714 | #ifdef Q_OS_LINUX |
| 1715 | if (gamemode_query_status() >= 0) |
| 1716 | m_capabilities |= SupportsGameMode; |
| 1717 | |
| 1718 | if (!MangoHud::getLibraryString().isEmpty()) |
| 1719 | m_capabilities |= SupportsMangoHud; |
| 1720 | #endif |
| 1721 | } |
| 1722 | |
| 1723 | void Application::detectLibraries() |
| 1724 | { |
nothing calls this directly
no test coverage detected